Skip to content

Commit

Permalink
Change the Java version in each project
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierSegoviaCordoba committed Sep 1, 2024
1 parent d832728 commit f46fdd0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
8 changes: 6 additions & 2 deletions kopy-args/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ hubdle {
}
}
}
kotlin { //
jvm()
kotlin {
jvm {
features { //
jvmVersion(JavaVersion.VERSION_1_8)
}
}
}
}
4 changes: 1 addition & 3 deletions kopy-compiler/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ hubdle {
}
}
kotlin {
compilerOptions { //
languageVersion(KotlinVersion.KOTLIN_2_0)
}
jvm {
features { //
compiler {
Expand All @@ -38,6 +35,7 @@ hubdle {
)
testProjects(projects.kopyRuntime)
}
jvmVersion(JavaVersion.VERSION_1_8)
}
main { //
dependencies { //
Expand Down
5 changes: 1 addition & 4 deletions kopy-gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@ hubdle {
publishing()
}
kotlin {
compilerOptions { //
languageVersion(KotlinVersion.KOTLIN_2_0)
}
jvm {
features {
jvmVersion(JavaVersion.VERSION_17)
jvmVersion(JavaVersion.VERSION_11)

gradle {
plugin {
Expand Down
3 changes: 3 additions & 0 deletions kopy-runtime/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ hubdle {
}
kotlin {
multiplatform {
features {
jvmVersion(JavaVersion.VERSION_1_8)
}
common {
main {
dependencies { //
Expand Down

0 comments on commit f46fdd0

Please sign in to comment.