mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[libgdx] Gradle and Maven updated to Java 16.
This commit is contained in:
parent
79c832793d
commit
d474e0d66a
@ -14,9 +14,9 @@ allprojects {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
sourceCompatibility = '1.7'
|
sourceCompatibility = '16'
|
||||||
targetCompatibility = '1.7'
|
targetCompatibility = '16'
|
||||||
options.release.set(7) // Ensures Java 8 bytecode is produced
|
options.release.set(16)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -60,9 +60,9 @@ project("spine-skeletonviewer") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
sourceCompatibility = '1.8'
|
sourceCompatibility = '16'
|
||||||
targetCompatibility = '1.8'
|
targetCompatibility = '16'
|
||||||
options.release.set(8) // Ensures Java 8 bytecode is produced
|
options.release.set(16)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -76,8 +76,8 @@
|
|||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.1</version>
|
<version>3.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.7</source>
|
<source>16</source>
|
||||||
<target>1.7</target>
|
<target>16</target>
|
||||||
<fork>true</fork>
|
<fork>true</fork>
|
||||||
<showWarnings>true</showWarnings>
|
<showWarnings>true</showWarnings>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user