mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-14 17:57:56 +07:00
another gradle test
This commit is contained in:
@ -183,9 +183,7 @@ 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){
|
||||||
if(JavaVersion.current() != JavaVersion.VERSION_1_8){
|
options.release = 8
|
||||||
options.compilerArgs.addAll(['--release', '8'])
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(Javadoc){
|
tasks.withType(Javadoc){
|
||||||
|
Reference in New Issue
Block a user