Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

Commit e2d786c

Browse files
author
Stefan Nothaas
committed
build.gradle: Set default encoding for javac to utf-8
1 parent 718630b commit e2d786c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ task wrapper(type: Wrapper) {
3737
gradleVersion = "4.7"
3838
}
3939

40+
tasks.withType(JavaCompile) {
41+
options.encoding = 'UTF-8'
42+
}
43+
4044
task sourcesJar(type: Jar, dependsOn: classes) {
4145

4246
classifier = 'sources'

0 commit comments

Comments
 (0)