You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you change several parameters such as buildToolsVersion to read from the configuration file of the project root directory? Now I have encountered a problem with the buildToolsVersion version conflict.
Like this function in build.gradle:
def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}
Can you change several parameters such as buildToolsVersion to read from the configuration file of the project root directory? Now I have encountered a problem with the buildToolsVersion version conflict.
Like this function in build.gradle:
def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}
usage:
compileSdkVersion safeExtGet('compileSdkVersion', 26)
buildToolsVersion safeExtGet('buildToolsVersion', '26.0.2')
The text was updated successfully, but these errors were encountered: