Skip to content

Commit 0c386b3

Browse files
committed
Target Java 11 bytecode
1 parent ebe10ba commit 0c386b3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Note: The master branch on GitHub is a development version of the engine and is
5151
- libraries for GUI, networking, physics, SFX, terrain, importing assets, etc.
5252
- platform-neutral core library for scene graph, animation, rendering, math, etc.
5353
- LWJGL v2/v3 (to access GLFW, OpenAL, OpenGL, and OpenVR) or Android or iOS
54-
- Java Virtual Machine (v8 or higher)
54+
- Java Virtual Machine (v11 or higher)
5555

5656
### Documentation
5757

common.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ group = 'org.jmonkeyengine'
1616
version = jmeFullVersion
1717

1818
java {
19-
sourceCompatibility = JavaVersion.VERSION_1_8
20-
targetCompatibility = JavaVersion.VERSION_1_8
19+
sourceCompatibility = JavaVersion.VERSION_11
20+
targetCompatibility = JavaVersion.VERSION_11
2121
toolchain {
2222
languageVersion = JavaLanguageVersion.of(25)
2323
vendor = JvmVendorSpec.ADOPTIUM
@@ -28,7 +28,7 @@ tasks.withType(JavaCompile) { // compile-time options:
2828
//options.compilerArgs << '-Xlint:deprecation' // to show deprecation warnings
2929
options.compilerArgs << '-Xlint:unchecked'
3030
options.encoding = 'UTF-8'
31-
options.release = 8
31+
options.release = 11
3232
}
3333

3434
repositories {

0 commit comments

Comments
 (0)