Andrey Larionov
12/19/2023, 11:10 PMcommonMain
with debug, regress and release modes, but I can’t find any information on how to manage this.
I can add BuildKonfig and manage the necessary settings using “flavors”, but is there a simpler way to accomplish this?Hristijan
12/19/2023, 11:58 PMPablichjenkov
12/20/2023, 1:06 PMFarhazul Mullick
12/20/2023, 3:44 PMFarhazul Mullick
12/20/2023, 3:44 PMPablichjenkov
12/20/2023, 4:12 PMPablichjenkov
12/20/2023, 4:18 PMbuild.gradle
Pablichjenkov
12/20/2023, 4:20 PMval flavor = findProperty("build-flavor")
if(flavor == flavor-a) {
implementation ("com.mycompany: assets-flavor-a:1.0.0")
} else if (flavor == flavor-b) {
implementation ("com.mycompany: assets-flavor-b:1.0.0")
} else ...
Pablichjenkov
12/20/2023, 4:26 PMFarhazul Mullick
12/20/2023, 5:51 PMPablichjenkov
12/20/2023, 5:59 PM