Skip to content

Commit

Permalink
Changed name of apk output
Browse files Browse the repository at this point in the history
  • Loading branch information
nienow committed Jan 12, 2024
1 parent 5523383 commit e1927d5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1927d5

Please sign in to comment.