Skip to content

Commit e1927d5

Browse files
committed
Changed name of apk output
1 parent 5523383 commit e1927d5

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

app/build.gradle.kts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@ android {
3030
}
3131
}
3232

33+
applicationVariants.all {
34+
outputs.all {
35+
var apkName = "IntervalTimer-" + defaultConfig.versionName;
36+
if (name == "debug") {
37+
apkName += "-${name}"
38+
}
39+
this as com.android.build.gradle.internal.api.ApkVariantOutputImpl
40+
outputFileName = apkName + ".apk"
41+
}
42+
}
43+
3344
buildTypes {
3445
release {
3546
isMinifyEnabled = true

0 commit comments

Comments
 (0)