Add build tool version to android config (#1803)

This commit is contained in:
rhjdvsgsgks
2025-03-01 21:31:02 +00:00
committed by GitHub
parent 7b70b40d30
commit 7566918ee7
3 changed files with 2 additions and 2 deletions

View File

@ -8,6 +8,7 @@ object AndroidConfig {
const val TARGET_SDK = 34
const val MIN_SDK = 26
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