Skip to content

Commit ce76373

Browse files
committed
chore: Custom apk name
1 parent a901707 commit ce76373

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

app/build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,15 @@ android {
110110
lint {
111111
abortOnError = false
112112
}
113+
applicationVariants.all {
114+
val variant = this
115+
outputs
116+
.map { it as com.android.build.gradle.internal.api.BaseVariantOutputImpl }
117+
.forEach { output ->
118+
val apkName = "bitkit-android-${defaultConfig.versionCode}-${variant.name}.apk"
119+
output.outputFileName = apkName
120+
}
121+
}
113122
}
114123
composeCompiler {
115124
featureFlags = setOf(

0 commit comments

Comments
 (0)