We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5d7d17 commit 47cd7caCopy full SHA for 47cd7ca
app/build.gradle.kts
@@ -56,6 +56,18 @@ android {
56
buildConfig = true
57
aidl = true
58
}
59
+
60
+ // Custom APK naming
61
+ applicationVariants.all {
62
+ val variant = this
63
+ variant.outputs.all {
64
+ val output = this as com.android.build.gradle.internal.api.BaseVariantOutputImpl
65
+ val appName = "AppControlX"
66
+ val versionName = variant.versionName
67
+ val buildType = variant.buildType.name
68
+ output.outputFileName = "${appName}-v${versionName}-${buildType}.apk"
69
+ }
70
71
72
73
dependencies {
0 commit comments