Skip to content

Commit

Permalink
build: fix broken java bytecode output
Browse files Browse the repository at this point in the history
  • Loading branch information
darksaid98 committed May 20, 2024
1 parent 8958cba commit abafc2f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ version = "2.4.0"

java {
toolchain.languageVersion.set(JavaLanguageVersion.of(8))
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

kotlin {
jvmToolchain(8)
}

repositories {
Expand Down Expand Up @@ -52,6 +58,12 @@ tasks {
dependsOn("generateResources")
}

compileKotlin {
kotlinOptions {
javaParameters = true
}
}

processResources {
filteringCharset = Charsets.UTF_8.name()
}
Expand Down

0 comments on commit abafc2f

Please sign in to comment.