Skip to content

Commit 0729d54

Browse files
committed
set options.release on compile tasks
1 parent 0982dfa commit 0729d54

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ allprojects {
9292
enabled = false
9393
}
9494

95+
tasks.withType<JavaCompile>().configureEach {
96+
options.encoding = "UTF-8"
97+
options.release.set(chenille.javaVersion)
98+
}
99+
95100
tasks.jar {
96101
from(rootProject.file("LICENSE.md")) {
97102
rename { "LICENSE_${project.name.replace("-", "_")}"}

0 commit comments

Comments
 (0)