Skip to content

Commit

Permalink
feat(core): setting Kotlin Jvm build
Browse files Browse the repository at this point in the history
  • Loading branch information
SeongHoonC committed Jun 15, 2024
1 parent e658417 commit 9e23a11
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
16 changes: 12 additions & 4 deletions Android/core/domain/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
plugins {
id("java-library")
alias(libs.plugins.jetbrains.kotlin.jvm)
}

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
kotlin.jvmToolchain(17)

tasks {
compileKotlin {
kotlinOptions.jvmTarget = "17"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "17"
}
test {
useJUnitPlatform()
}
}
16 changes: 12 additions & 4 deletions Android/core/model/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
plugins {
id("java-library")
alias(libs.plugins.jetbrains.kotlin.jvm)
}

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
kotlin.jvmToolchain(17)

tasks {
compileKotlin {
kotlinOptions.jvmTarget = "17"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "17"
}
test {
useJUnitPlatform()
}
}

0 comments on commit 9e23a11

Please sign in to comment.