File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,13 @@ ext.commit = System.getenv("GIT_COMMIT") ?: 'unknown'
2020
2121// Source compiler configuration
2222tasks. withType(JavaCompile ) {
23- options. compilerArgs + = [' -Xlint:all' , ' -Xlint:-path' ]
24- options. deprecation = true
25- options. encoding = ' utf8'
23+ sourceCompatibility = 8
24+ targetCompatibility = 8
25+ options. with {
26+ deprecation = true
27+ encoding = ' UTF-8'
28+ compilerArgs << " -Xlint:all" << " -Xlint:-path" << " -Xlint:-processing"
29+ }
2630}
2731
2832repositories {
@@ -41,12 +45,6 @@ dependencies {
4145 provided ' com.github.javaparser:javaparser-core:2.3.0'
4246}
4347
44- tasks. withType(JavaCompile ) {
45- sourceCompatibility = 8
46- targetCompatibility = 8
47- options. compilerArgs << " -Xlint:all" << " -Xlint:-processing"
48- }
49-
5048jar {
5149 baseName = project. name
5250 duplicatesStrategy = DuplicatesStrategy . EXCLUDE
You can’t perform that action at this time.
0 commit comments