From 5db3096386ad26d94961ecfb2ba97dd0f539a613 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Fri, 9 Aug 2024 09:45:23 +0200 Subject: [PATCH] upgrade java to 22.0.2 --- .github/workflows/package.yaml | 4 ++-- build.gradle | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index 8d452f63..a1f2a737 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -15,11 +15,11 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - name: Set up JDK 18.0.1 + - name: Set up JDK 22.0.2 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '18.0.1' + java-version: '22.0.2' - name: Show Build Versions run: ./gradlew -v - name: Build with Gradle diff --git a/build.gradle b/build.gradle index 74071647..706b71a7 100644 --- a/build.gradle +++ b/build.gradle @@ -214,7 +214,7 @@ jlink { uses 'org.eclipse.jetty.http.HttpFieldPreEncoder' } - 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/*'] + 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/*'] launcher { name = 'sparrow' jvmArgs = ["--add-opens=javafx.graphics/com.sun.javafx.css=org.controlsfx.controls",