I have a 'mobile' module that depends on a 'core' module, and I keep getting the same inconsistent error:
mobile/build.gradle:
debug {
buildConfigField "String", "URL_SEARCH", "\"https://mobile.debug\""
}
release {
buildConfigField "String", "URL_SEARCH", "\"https://mobile.release\""
}
core/build.gradle:
debug {
buildConfigField "String", "URL_SEARCH", "\"https://core.debug\""
}
release {
buildConfigField "String", "URL_SEARCH", "\"https://core.release\""
}
Whenever I set my variants to be mobile debug + core debug, I still get the same output inside my core.MyApplication.java file: 'https://core.release':