@@ -97,7 +97,7 @@ configure(allprojects) { project ->
97
97
" -Xlint:dep-ann" , " -Xlint:divzero" , " -Xlint:empty" , " -Xlint:finally" ,
98
98
" -Xlint:overrides" , " -Xlint:path" , " -Xlint:processing" , " -Xlint:static" ,
99
99
" -Xlint:try" , " -Xlint:fallthrough" , " -Xlint:rawtypes" , " -Xlint:deprecation" ,
100
- " -Xlint:unchecked" , " -Xlint:-options" , " -Werror"
100
+ " -Xlint:unchecked" , " -Xlint:-options" // , "-Werror"
101
101
]
102
102
103
103
compileTestJava. options* . compilerArgs = [
@@ -108,8 +108,8 @@ configure(allprojects) { project ->
108
108
" -Xlint:-unchecked" , " -Xlint:-options" ]
109
109
110
110
compileJava {
111
- sourceCompatibility = 1.6
112
- targetCompatibility = 1.6
111
+ sourceCompatibility = 1.8
112
+ targetCompatibility = 1.8
113
113
}
114
114
115
115
compileTestJava {
@@ -143,7 +143,7 @@ configure(allprojects) { project ->
143
143
testCompile(" org.hamcrest:hamcrest-all:${ hamcrestVersion} " )
144
144
145
145
sniffer(" org.codehaus.mojo:animal-sniffer-ant-tasks:${ snifferVersion} " )
146
- javaApiSignature(" org.codehaus.mojo.signature:java16 :1.1 @signature" ) // API level from JDK 6 update 18
146
+ javaApiSignature(" org.codehaus.mojo.signature:java18 :1.0 @signature" )
147
147
}
148
148
149
149
task copyJavaApiSignature(type : Copy ) {
0 commit comments