secrets gradle plugin is not Gradle project isolation compatible and is using deprecated AGP variant API. This change removes the usage by using a custom provider to set this value. Inspiration https://github.com/android/gradle-recipes/blob/agp-8.10/addCustomBuildConfigFields/build-logic/plugins/src/main/kotlin/CustomPlugin.kt https://github.com/android/nowinandroid/issues/1842 Test: ./gradlew core:network:assemble -> BuildConfig.java has correct valuepull/1913/head
parent
ddf1647880
commit
149a345595
@ -1,4 +0,0 @@
|
||||
## This file provides default values to modules using the secrets-gradle-plugin. It is necessary
|
||||
# because the secrets properties file is not under source control so CI builds will fail without
|
||||
# default values.
|
||||
BACKEND_URL="http://example.com"
|
Loading…
Reference in new issue