Open yshrsmz opened 8 months ago
It would be nice to have a way to set the buildkonfig.flavor property from the androidApp module in a typical KMP project. I've tried something like this but it doesn't work...
flavorDimensions += "mode"
productFlavors {
create("dev") {
isDefault = true
dimension = "mode"
}
create("prod") {
dimension = "mode"
setProperty("buildkonfig.flavor", "prod")
}
}
@jfrey-irhythm Take a look at https://github.com/yshrsmz/BuildKonfig/discussions/128
personally I wrote this script and use it in my project. But it would be nice if this is baked into BuildKonfig