We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
targetSdkVersion
1 parent 6155ff7 commit 7574be2Copy full SHA for 7574be2
vendor/gradle-plugin/build.gradle
@@ -146,6 +146,7 @@ allprojects {
146
147
148
def computeCompileSdkVersion = { -> project.hasProperty("compileSdk") ? compileSdk : 31 }
149
+def computeTargetSdkVersion = { -> project.hasProperty("targetSdk") ? targetSdk : 31 as int }
150
def computeBuildToolsVersion = { ->
151
project.hasProperty("buildToolsVersion") ? buildToolsVersion : "31.0.0"
152
}
@@ -166,7 +167,7 @@ android {
166
167
buildToolsVersion computeBuildToolsVersion()
168
169
defaultConfig {
- targetSdkVersion 31
170
+ targetSdkVersion computeTargetSdkVersion()
171
versionCode 1
172
versionName "1.0"
173
0 commit comments