@@ -97,7 +97,7 @@ configure(allprojects) { project ->
9797 " -Xlint:dep-ann" , " -Xlint:divzero" , " -Xlint:empty" , " -Xlint:finally" ,
9898 " -Xlint:overrides" , " -Xlint:path" , " -Xlint:processing" , " -Xlint:static" ,
9999 " -Xlint:try" , " -Xlint:fallthrough" , " -Xlint:rawtypes" , " -Xlint:deprecation" ,
100- " -Xlint:unchecked" , " -Xlint:-options" , " -Werror"
100+ " -Xlint:unchecked" , " -Xlint:-options" // , "-Werror"
101101 ]
102102
103103 compileTestJava. options* . compilerArgs = [
@@ -108,8 +108,8 @@ configure(allprojects) { project ->
108108 " -Xlint:-unchecked" , " -Xlint:-options" ]
109109
110110 compileJava {
111- sourceCompatibility = 1.6
112- targetCompatibility = 1.6
111+ sourceCompatibility = 1.8
112+ targetCompatibility = 1.8
113113 }
114114
115115 compileTestJava {
@@ -143,7 +143,7 @@ configure(allprojects) { project ->
143143 testCompile(" org.hamcrest:hamcrest-all:${ hamcrestVersion} " )
144144
145145 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" )
147147 }
148148
149149 task copyJavaApiSignature(type : Copy ) {
0 commit comments