We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 57e6b21 + 6c2b27c commit 1959ebdCopy full SHA for 1959ebd
1 file changed
android/build.gradle.kts
@@ -19,6 +19,22 @@ subprojects {
19
project.evaluationDependsOn(":app")
20
}
21
22
+subprojects {
23
+ afterEvaluate {
24
+ extensions.findByType<com.android.build.gradle.BaseExtension>()?.apply {
25
+ compileOptions {
26
+ sourceCompatibility = JavaVersion.VERSION_17
27
+ targetCompatibility = JavaVersion.VERSION_17
28
+ }
29
30
+ tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
31
+ kotlinOptions {
32
+ jvmTarget = "17"
33
34
35
36
+}
37
+
38
tasks.register<Delete>("clean") {
39
delete(rootProject.layout.buildDirectory)
40
0 commit comments