mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-03 13:30:25 +07:00
nope, --release 8 is broken
This commit is contained in:
parent
a92d143788
commit
5e6465e8f3
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user