Update to Java 17, switch to Eclipse Adoptium
This commit is contained in:
@@ -16,10 +16,11 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Set up AdoptOpenJDK 16
|
||||
uses: joschi/setup-jdk@v2.3.0
|
||||
- name: Setup Eclipse Temurin OpenJDK 17
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: 16
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Build with Gradle
|
||||
|
||||
@@ -15,10 +15,11 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Setup AdoptOpenJDK 16
|
||||
uses: joschi/setup-jdk@v2.3.0
|
||||
- name: Setup Eclipse Temurin OpenJDK 17
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: 16
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Build JAR dist files
|
||||
|
||||
@@ -16,10 +16,11 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Setup AdoptOpenJDK 16
|
||||
uses: joschi/setup-jdk@v2.3.0
|
||||
- name: Setup Eclipse Temurin OpenJDK 17
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: 16
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Build JAR dist files
|
||||
@@ -52,10 +53,11 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Setup AdoptOpenJDK 16
|
||||
uses: joschi/setup-jdk@v2.3.0
|
||||
- name: Setup Eclipse Temurin OpenJDK 17
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: 16
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
- name: Build JAR dist files
|
||||
env:
|
||||
WORKFLOW_RUN: ${{ github.run_number }}
|
||||
@@ -80,10 +82,11 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Setup AdoptOpenJDK 16
|
||||
uses: joschi/setup-jdk@v2.3.0
|
||||
- name: Setup Eclipse Temurin OpenJDK 17
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: 16
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Build JAR dist files
|
||||
|
||||
@@ -64,7 +64,7 @@ We need your help! HyperLap2D is a very large and complex project, if you have s
|
||||
|
||||
#### Building from source
|
||||
|
||||
HyperLap2D is developed using IntelliJ IDEA. Needs `Java 16`.
|
||||
HyperLap2D is developed using IntelliJ IDEA. Needs `Java 17`.
|
||||
|
||||
1. Fork this repository
|
||||
2. Clone with `--recurse-submodules` flag
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3
-2
@@ -166,10 +166,11 @@ runtime {
|
||||
imageOptions += ["--icon", file("icons/icon.ico")]
|
||||
installerType = 'msi'
|
||||
installerOptions += ['--win-dir-chooser', '--win-menu', '--win-menu-group', 'HyperLap2D',
|
||||
'--win-shortcut', '--vendor', 'Red & Black Games',
|
||||
'--win-shortcut', '--win-shortcut-prompt', '--vendor', 'Red & Black Games',
|
||||
'--description', 'HyperLap2D Editor',
|
||||
'--temp', "$buildDir/installer",
|
||||
'--win-upgrade-uuid', 'e5f64fb6-111f-41f3-8f33-03b90e1a3a32']
|
||||
'--win-upgrade-uuid', 'e5f64fb6-111f-41f3-8f33-03b90e1a3a32',
|
||||
"--icon", file("icons/icon.ico")]
|
||||
resourceDir = file("resources-windows")
|
||||
} else if (osName.contains('linux')) {
|
||||
imageOptions += ["--icon", file("icons/HyperLap2D.png")]
|
||||
|
||||
@@ -20,6 +20,6 @@ public class BootstrapInfoCommand extends SimpleCommand {
|
||||
HyperLog.info("GL version " + gl20.glGetString(GL20.GL_VERSION));
|
||||
HyperLog.info("Shaders version " + gl20.glGetString(GL20.GL_SHADING_LANGUAGE_VERSION));
|
||||
|
||||
HyperLog.info("JVM Version: " + System.getProperty("java.version"));
|
||||
HyperLog.info("JVM Version: " + System.getProperty("java.version") + " (" + System.getProperty("java.vendor") + ")");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user