revert to java 18 due to windows code signing issue

This commit is contained in:
Craig Raw 2024-02-16 11:27:24 +02:00
parent d2940265fd
commit ff4ff90bb2
2 changed files with 3 additions and 3 deletions

View file

@ -15,11 +15,11 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
submodules: true submodules: true
- name: Set up JDK 21.0.1 - name: Set up JDK 18.0.1
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: '21.0.1' java-version: '18.0.1'
- name: Show Build Versions - name: Show Build Versions
run: ./gradlew -v run: ./gradlew -v
- name: Build with Gradle - name: Build with Gradle

View file

@ -214,7 +214,7 @@ jlink {
uses 'org.eclipse.jetty.websocket.common.RemoteEndpointFactory' uses 'org.eclipse.jetty.websocket.common.RemoteEndpointFactory'
} }
options = ['--strip-native-commands', '--strip-java-debug-attributes', '--compress', 'zip-6', '--no-header-files', '--no-man-pages', '--ignore-signing-information', '--exclude-files', '**.png', '--exclude-resources', 'glob:/com.sparrowwallet.merged.module/META-INF/*'] options = ['--strip-native-commands', '--strip-java-debug-attributes', '--compress', '2', '--no-header-files', '--no-man-pages', '--ignore-signing-information', '--exclude-files', '**.png', '--exclude-resources', 'glob:/com.sparrowwallet.merged.module/META-INF/*']
launcher { launcher {
name = 'sparrow' name = 'sparrow'
jvmArgs = ["--add-opens=javafx.graphics/com.sun.javafx.css=org.controlsfx.controls", jvmArgs = ["--add-opens=javafx.graphics/com.sun.javafx.css=org.controlsfx.controls",