magnumrocha
02/15/2024, 10:51 AMproduct: android/app
) is the BuildConfig class being generated?
I tried even to set the variants on my yml, the class not exists on the classpath.Anton Prokhorov
02/15/2024, 11:24 AMbuild.gradle.kts
next to module.yaml
with following content:
android {
buildFeatures.buildConfig = true
buildTypes {
debug {
buildConfigField("String", "API_URL", "\"<https://api.debug.example.com/>\"")
}
release {
buildConfigField("String", "API_URL", "\"<https://api.example.com/>\"")
}
}
}
run generateDebugBuildConfig
or just run build to generate all build config you need
Class should be appeared in your resolve context and also you could check build/generated/source
foldermagnumrocha
02/15/2024, 11:46 AM