Skip to content

Commit e83d53d

Browse files
committed
add compiler options
1 parent 627511d commit e83d53d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

log4js-servlet/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,8 @@ dependencies {
2626
testCompile group: 'junit', name: 'junit', version: '4.12'
2727

2828
}
29+
30+
compileJava {
31+
options.encoding = 'UTF-8'
32+
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
33+
}

0 commit comments

Comments
 (0)