Skip to content

Commit de6f6b8

Browse files
committed
feat: add kotlin compile task configuration
1 parent d172de9 commit de6f6b8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

features/core/catalog-source/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ java {
1515
targetCompatibility = JavaVersion.VERSION_17
1616
}
1717

18+
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
19+
@Suppress("DEPRECATION")
20+
kotlinOptions {
21+
jvmTarget = JavaVersion.VERSION_17.majorVersion
22+
}
23+
}
24+
1825
dependencies {
1926
implementation(libs.kotlinx.serialization.json)
2027
testImplementation(libs.junit)

0 commit comments

Comments
 (0)