diff --git a/app/build.gradle.kts b/app/build.gradle.kts index a528f76..22b50a1 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -30,6 +30,17 @@ android { } } + applicationVariants.all { + outputs.all { + var apkName = "IntervalTimer-" + defaultConfig.versionName; + if (name == "debug") { + apkName += "-${name}" + } + this as com.android.build.gradle.internal.api.ApkVariantOutputImpl + outputFileName = apkName + ".apk" + } + } + buildTypes { release { isMinifyEnabled = true