For #27133: Specify type when retrieving resValues.

pull/543/head
mcarare 2 years ago committed by mergify[bot]
parent c7c5682104
commit 1a21d49390

@ -235,7 +235,7 @@ android.applicationVariants.all { variant ->
// Generate version codes for builds
// -------------------------------------------------------------------------------------------------
def isDebug = variant.buildType.resValues['IS_DEBUG']?.value ?: false
def isDebug = variant.buildType.resValues['bool/IS_DEBUG']?.value ?: false
def useReleaseVersioning = variant.buildType.buildConfigFields['USE_RELEASE_VERSIONING']?.value ?: false
println("----------------------------------------------")

Loading…
Cancel
Save