Use AGP provided NDK and Build Tools version

This commit is contained in:
AntsyLich
2025-12-13 00:18:48 +06:00
parent 4cb05cc738
commit 5fe7dd9f06
2 changed files with 0 additions and 6 deletions

View File

@@ -7,8 +7,6 @@ object AndroidConfig {
const val COMPILE_SDK = 36
const val TARGET_SDK = 36
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,13 +26,9 @@ 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
ndk {
version = AndroidConfig.NDK
}
}
compileOptions {