mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-09 15:27:45 +07:00
nope, --release 8 is broken
This commit is contained in:
@ -183,7 +183,9 @@ allprojects{
|
|||||||
//compile with java 8 compatibility for everything except the annotati project
|
//compile with java 8 compatibility for everything except the annotati project
|
||||||
configure(subprojects - project(":annotations")){
|
configure(subprojects - project(":annotations")){
|
||||||
tasks.withType(JavaCompile){
|
tasks.withType(JavaCompile){
|
||||||
options.release = 8
|
if(JavaVersion.current() != JavaVersion.VERSION_1_8){
|
||||||
|
options.compilerArgs.addAll(['--release', '8'])
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(Javadoc){
|
tasks.withType(Javadoc){
|
||||||
|
Reference in New Issue
Block a user