diff --git a/.gitignore b/.gitignore index d4c3a57..e01eb6a 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ .cxx local.properties /.idea/ +/app/release/ diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 0996c22..1ee4560 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -14,7 +14,7 @@ android { minSdk = 31 targetSdk = 34 versionCode = 1 - versionName = "1.0" + versionName = "1.0Alpha" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { @@ -24,7 +24,8 @@ android { buildTypes { release { - isMinifyEnabled = false + isMinifyEnabled = true + isShrinkResources = true proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" @@ -49,6 +50,22 @@ android { excludes += "/META-INF/{AL2.0,LGPL2.1}" } } + + splits { + abi { + // Enable building multiple APKs per ABI. + isEnable = true + + // Specify a list of ABIs to build APKs for. + include("armv8", "armeabi-v7a", "x86", "x86_64") + + // Optionally, specify a list of ABIs to exclude. + // exclude("armeabi") + + // Specify whether to also build a universal APK that includes all ABIs. + // isUniversalApk = false + } + } } kapt {