nope, --release 8 is broken

This commit is contained in:
Anuken 2020-08-23 12:08:09 -04:00
parent a92d143788
commit 5e6465e8f3

View File

@ -183,7 +183,9 @@ allprojects{
//compile with java 8 compatibility for everything except the annotati project
configure(subprojects - project(":annotations")){
tasks.withType(JavaCompile){
options.release = 8
if(JavaVersion.current() != JavaVersion.VERSION_1_8){
options.compilerArgs.addAll(['--release', '8'])
}
}
tasks.withType(Javadoc){