I am developing in Android, and I have a submodule in my project.
I have set buildConfigField
like the following in build.gradle
of Module
buildTypes {
release {
minifyEnabled false
buildConfigField "String", "TestId", '"48"'
}
dev {
buildConfigField "String", "TestId", '"88"'
}
}
And I use TestId
in module.
But I want to change the TestId
from outside, like build.gradle
of app
.
How to set the buildConfigField
of module from build.gradle
of app
for Android ?
Thanks in advance.