Skip to content

Commit 7588aba

Browse files
committed
add product flavors for distribution
1 parent db4e674 commit 7588aba

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

app/build.gradle.kts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,20 @@ android {
99
namespace = "com.uravgcode.chooser"
1010
compileSdk = 36
1111

12+
flavorDimensions += "distribution"
13+
productFlavors {
14+
create("foss") {
15+
dimension = "distribution"
16+
applicationId = "com.uravgcode.chooser"
17+
}
18+
19+
create("gplay") {
20+
dimension = "distribution"
21+
applicationId = "com.uravgcode.chooserapp"
22+
}
23+
}
24+
1225
defaultConfig {
13-
applicationId = "com.uravgcode.chooser"
1426
minSdk = 26
1527
targetSdk = 36
1628
versionCode = 17

0 commit comments

Comments
 (0)