spierce7
03/24/2020, 2:10 AMbuild.gradle
, but now I’m trying to move this to buildSrc
. I’m struggling to find the equivalent way to do this inside buildSrc
, can anyone help me out?
ext.installInternalProductionFlavors = { project ->
project.android.flavorDimensions 'releaseType'
project.android.productFlavors {
internal {
dimension 'releaseType'
matchingFallbacks = ['debug']
}
production {
dimension 'releaseType'
matchingFallbacks = ['release']
}
}
installInternalProductionVariantFilter(project)
}
Michal Harakal
03/24/2020, 11:50 AMandroid { setDefaults() }
like here https://github.com/dukecon/dukecon_mobile/blob/develop/common/data/build.gradle.ktsspierce7
03/24/2020, 3:06 PMSantosh Astagi
03/24/2020, 4:06 PM