File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
2
2
import org.gradle.api.tasks.testing.logging.TestLogEvent
3
+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
3
4
4
5
plugins {
5
6
alias(libs.plugins.android.application)
@@ -13,6 +14,10 @@ plugins {
13
14
alias(libs.plugins.compose.compiler)
14
15
}
15
16
17
+ kotlin {
18
+ compilerOptions.jvmTarget.set(JvmTarget .JVM_17 )
19
+ }
20
+
16
21
android {
17
22
namespace = " com.mitteloupe.whoami"
18
23
compileSdk = libs.versions.compileSdk.get().toInt()
@@ -67,10 +72,6 @@ android {
67
72
targetCompatibility = JavaVersion .VERSION_17
68
73
}
69
74
70
- kotlinOptions {
71
- jvmTarget = JavaVersion .VERSION_17 .toString()
72
- }
73
-
74
75
buildFeatures {
75
76
compose = true
76
77
}
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ ktlint = "12.3.0"
35
35
detekt = " 1.23.8"
36
36
kotlinx-serialization-json = " 1.9.0"
37
37
minSdk = " 22"
38
- targetSdk = " 35 "
39
- compileSdk = " 35 "
38
+ targetSdk = " 36 "
39
+ compileSdk = " 36 "
40
40
41
41
[libraries ]
42
42
androidx-material3 = { module = " androidx.compose.material3:material3" }
You can’t perform that action at this time.
0 commit comments