Skip to content

Commit 57fa3b1

Browse files
committed
chore: plugin build gradle fix
1 parent ee31dd4 commit 57fa3b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vendor/gradle-plugin/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ android {
284284
}
285285
}
286286

287-
def computeCompileSdkVersion = { -> project.hasProperty("compileSdk") ? project.compileSdk : 31 }
288-
def computeTargetSdkVersion = { -> project.hasProperty("targetSdk") ? project.targetSdk : 31 as int }
287+
def computeCompileSdkVersion = { -> project.hasProperty("compileSdk") ? project.compileSdk as int : 31 }
288+
def computeTargetSdkVersion = { -> project.hasProperty("targetSdk") ? project.targetSdk as int : 31 as int }
289289
def computeBuildToolsVersion = { ->
290290
project.hasProperty("buildToolsVersion") ? project.buildToolsVersion : "31.0.0"
291291
}

0 commit comments

Comments
 (0)