Skip to content

Commit 50a3a18

Browse files
committed
Include flavor name in APK output filename
APK output filenames now include the build flavor name for better distinction between different build variants.
1 parent a457582 commit 50a3a18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ android {
148148
applicationVariants.configureEach {
149149
outputs.configureEach {
150150
(this as? ApkVariantOutputImpl)?.outputFileName =
151-
"WebUI-X-$versionName.apk"
151+
"WebUI-X-$versionName-$flavorName.apk"
152152
}
153153
}
154154
}

0 commit comments

Comments
 (0)