Flavor without gradle.properties #174
-
I use flavor to build with different configurations. But I have a script that prepares a build for me, it does many different things, but it also builds the project with a specific flavor. After this build I run the project in Android Studio then the build is restarted and my BuildKonfig file is rewritten without flavor. The option using gradle.properties is not suitable for me because of the peculiarities of the script. Are there any other options how I can run the project through android studio without rewriting BuildKonfig object |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
It's just a gradle property, you can set programatically with standard Gradle API. |
Beta Was this translation helpful? Give feedback.
@AndrewLiis Check this discussion if you want a quick code example
#128