Skip to content

Commit b1ef44c

Browse files
authored
Fixes: build issues due to jvm tool chain (#1580)
Fixes build issue #1539 due to tool chain. Toolchain for other modules were removed in the [PR](d8df669)
2 parents 36ffc8d + e5f5562 commit b1ef44c

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

Jetcaster/core/data-testing/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ android {
5151
sourceCompatibility = JavaVersion.VERSION_17
5252
targetCompatibility = JavaVersion.VERSION_17
5353
}
54-
}
55-
kotlin {
56-
jvmToolchain(17)
54+
kotlinOptions {
55+
jvmTarget = "17"
56+
}
5757
}
5858
dependencies {
5959
implementation(libs.androidx.core.ktx)

Jetcaster/core/data/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ android {
5454
sourceCompatibility = JavaVersion.VERSION_17
5555
targetCompatibility = JavaVersion.VERSION_17
5656
}
57-
}
58-
kotlin {
59-
jvmToolchain(17)
57+
kotlinOptions {
58+
jvmTarget = "17"
59+
}
6060
}
6161
dependencies {
6262
implementation(libs.androidx.core.ktx)

Jetcaster/core/designsystem/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,10 @@ android {
5555
sourceCompatibility = JavaVersion.VERSION_17
5656
targetCompatibility = JavaVersion.VERSION_17
5757
}
58-
}
59-
kotlin {
60-
jvmToolchain(17)
58+
59+
kotlinOptions {
60+
jvmTarget = "17"
61+
}
6162
}
6263

6364
dependencies {

Jetcaster/mobile/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ android {
7878
sourceCompatibility = JavaVersion.VERSION_17
7979
targetCompatibility = JavaVersion.VERSION_17
8080
}
81+
kotlinOptions {
82+
jvmTarget = "17"
83+
}
8184

8285
buildFeatures {
8386
compose = true
@@ -95,9 +98,6 @@ android {
9598
excludes += "/META-INF/LGPL2.1"
9699
}
97100
}
98-
kotlin {
99-
jvmToolchain(17)
100-
}
101101

102102
dependencies {
103103
val composeBom = platform(libs.androidx.compose.bom)

0 commit comments

Comments
 (0)