diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 7b865c1..8568eca 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -20,7 +20,11 @@ android { buildTypes { release { - isMinifyEnabled = false + ndk { + abiFilters += listOf("armeabi-v7a", "arm64-v8a") + } + isMinifyEnabled = true + isShrinkResources = true proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 481bb43..4d434a2 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -18,4 +18,7 @@ # If you keep the line number information, uncomment this to # hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file +#-renamesourcefileattribute SourceFile + +-dontwarn com.gemalto.jp2.JP2Decoder +-dontwarn com.gemalto.jp2.JP2Encoder