Add build tool version to android config (#1803)
(cherry picked from commit 7566918ee749e76c701aeda7e99d81003676a51c)
This commit is contained in:
parent
56433a624e
commit
98af745e08
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user