Add build tool version to android config (#1803)

(cherry picked from commit 7566918ee749e76c701aeda7e99d81003676a51c)
This commit is contained in:
rhjdvsgsgks 2025-03-01 21:31:02 +00:00 committed by Jobobby04
parent 56433a624e
commit 98af745e08
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ object AndroidConfig {
const val TARGET_SDK = 34
const val MIN_SDK = 23
const val NDK = "27.1.12297006"
const val BUILD_TOOLS = "35.0.1"
// https://youtrack.jetbrains.com/issue/KT-66995/JvmTarget-and-JavaVersion-compatibility-for-easier-JVM-version-setup
val JavaVersion = GradleJavaVersion.VERSION_17

View File

@ -26,6 +26,7 @@ val Project.libs get() = the<LibrariesForLibs>()
internal fun Project.configureAndroid(commonExtension: CommonExtension<*, *, *, *, *, *>) {
commonExtension.apply {
compileSdk = AndroidConfig.COMPILE_SDK
buildToolsVersion = AndroidConfig.BUILD_TOOLS
defaultConfig {
minSdk = AndroidConfig.MIN_SDK