Skip to content

Commit

Permalink
set options.release on compile tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP committed Dec 31, 2024
1 parent 0982dfa commit 0729d54
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ allprojects {
enabled = false
}

tasks.withType<JavaCompile>().configureEach {
options.encoding = "UTF-8"
options.release.set(chenille.javaVersion)
}

tasks.jar {
from(rootProject.file("LICENSE.md")) {
rename { "LICENSE_${project.name.replace("-", "_")}"}
Expand Down

0 comments on commit 0729d54

Please sign in to comment.