Skip to content

Commit

Permalink
Give fatJarPlugin jvmToolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
StefMa committed Feb 29, 2024
1 parent 8bd04e2 commit d7d513d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions buildSrc/src/main/kotlin/pklFatJar.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ val relocations = mapOf(
"com.squareup.kotlinpoet." to "org.pkl.thirdparty.kotlinpoet.",
)

java {
toolchain {
languageVersion.set(jvmToolchainVersion)
vendor.set(jvmToolchainVendor)
}
}

val nonRelocations = listOf("com/oracle/truffle/")

tasks.shadowJar {
Expand Down

0 comments on commit d7d513d

Please sign in to comment.