Skip to content

Commit 0f356c6

Browse files
committed
Update to Java 17
1 parent 4c89aa4 commit 0f356c6

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-9
lines changed

analytics-core/build.gradle

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,15 @@ android {
2525
}
2626
}
2727
compileOptions {
28-
sourceCompatibility JavaVersion.VERSION_11
29-
targetCompatibility JavaVersion.VERSION_11
28+
sourceCompatibility JavaVersion.VERSION_17
29+
targetCompatibility JavaVersion.VERSION_17
3030
}
31+
kotlinOptions {
32+
jvmTarget = "17"
33+
}
34+
3135
kotlin {
32-
jvmToolchain(11)
36+
jvmToolchain(17)
3337
}
3438

3539
lintOptions {

core/build.gradle

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,15 @@ android {
3434
}
3535

3636
compileOptions {
37-
sourceCompatibility JavaVersion.VERSION_11
38-
targetCompatibility JavaVersion.VERSION_11
37+
sourceCompatibility JavaVersion.VERSION_17
38+
targetCompatibility JavaVersion.VERSION_17
3939
}
40+
kotlinOptions {
41+
jvmTarget = "17"
42+
}
43+
4044
kotlin {
41-
jvmToolchain(11)
45+
jvmToolchain(17)
4246
}
4347

4448
resourcePrefix 'cap_'

logging/build.gradle.kts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,16 @@ android {
2626
}
2727
}
2828
compileOptions {
29-
sourceCompatibility = JavaVersion.VERSION_11
30-
targetCompatibility = JavaVersion.VERSION_11
29+
sourceCompatibility = JavaVersion.VERSION_17
30+
targetCompatibility = JavaVersion.VERSION_17
31+
}
32+
33+
kotlinOptions {
34+
jvmTarget = "17"
3135
}
3236

3337
kotlin {
34-
jvmToolchain(11)
38+
jvmToolchain(17)
3539
}
3640

3741
lint {

0 commit comments

Comments
 (0)