Closed Egi10 closed 5 months ago
I've tried this, but I always fail here:
val runningTasks = project.gradle.startParameter.taskNames
where the result is always emptyList and if I add:
gradle.taskGraph.whenReady {
configureBuildKonfigFlavorFromAndroidTasks()
}
the result is: [prepareKotlinIdeaImport, prepareKotlinBuildScriptModel]
Can you please give me a solution for this?
Could you comment on the discussion https://github.com/yshrsmz/BuildKonfig/discussions/128 ? We want to keep all the relevant information/knowledge in one place 🙏
okey, thanks
Currently, the Mobile application (iOS and Android) has build variants (staging, UAT, and prod). At present, to change the flavors, it is done through gradle.properties.
Is it possible to automatically run the flavor according to the selected build variant in Android without having to change the buildkonfig in gradle.properties?