Skip to content

Commit

Permalink
Merge pull request #45 from Juuxel/utf-8
Browse files Browse the repository at this point in the history
Fix compiling on Windows by setting UTF-8 encoding for javac
  • Loading branch information
falkreon authored Feb 24, 2021
2 parents c4d1a7f + 15266e2 commit c0a507f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ if (System.env.BUILD_NUMBER) {
versionSuffix = '-'+System.env.BUILD_NUMBER;
}

tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}

publishing {
publications {
mavenPrimary(MavenPublication) {
Expand Down

0 comments on commit c0a507f

Please sign in to comment.