-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
31 lines (28 loc) · 959 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
plugins {
alias(libs.plugins.gradle.android.application) apply false
alias(libs.plugins.gradle.android.library) apply false
alias(libs.plugins.gradle.kotlin) apply false
alias(libs.plugins.gradle.binary.validator) apply false
}
subprojects {
pluginManager.withPlugin("kotlin") {
compileKotlin {
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString()
kotlinOptions.freeCompilerArgs += ["-Xopt-in=kotlin.RequiresOptIn"]
}
}
pluginManager.withPlugin("kotlin-android") {
android {
compileSdkVersion(33)
defaultConfig {
minSdkVersion(21)
targetSdkVersion(33)
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString()
}
}
}