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 {
|
||||
sourceCompatibility = '1.7'
|
||||
targetCompatibility = '1.7'
|
||||
options.release.set(7) // Ensures Java 8 bytecode is produced
|
||||
sourceCompatibility = '16'
|
||||
targetCompatibility = '16'
|
||||
options.release.set(16)
|
||||
}
|
||||
}
|
||||
|
||||
@ -60,9 +60,9 @@ project("spine-skeletonviewer") {
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
sourceCompatibility = '1.8'
|
||||
targetCompatibility = '1.8'
|
||||
options.release.set(8) // Ensures Java 8 bytecode is produced
|
||||
sourceCompatibility = '16'
|
||||
targetCompatibility = '16'
|
||||
options.release.set(16)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -76,8 +76,8 @@
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.1</version>
|
||||
<configuration>
|
||||
<source>1.7</source>
|
||||
<target>1.7</target>
|
||||
<source>16</source>
|
||||
<target>16</target>
|
||||
<fork>true</fork>
|
||||
<showWarnings>true</showWarnings>
|
||||
</configuration>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user