Skip to content

Commit 01935be

Browse files
authored
Merge pull request #145 from CodeDead/feature/upgrades
feat: Dependency upgrades, javafx version bump, upgrade to jdk 24
2 parents f5e74fe + 7b8c62d commit 01935be

File tree

13 files changed

+41
-36
lines changed

13 files changed

+41
-36
lines changed

.AppImage/createAppImage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
wget "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
2+
wget "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
33
chmod a+x appimagetool-x86_64.AppImage
44
BASEDIR=$(dirname "$0")
55
PARENT_DIR="$(dirname "$BASEDIR")"

.github/workflows/release.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ jobs:
2323
if: ${{ matrix.os == 'ubuntu-latest' }}
2424
run: sudo apt-get install -y fuse libfuse2
2525

26-
- name: Setup JDK 23
27-
uses: actions/setup-java@v4
28-
with:
29-
java-version: '23'
30-
distribution: 'temurin'
31-
3226
- name: Setup Gradle
3327
uses: gradle/actions/setup-gradle@v4
3428

@@ -63,12 +57,6 @@ jobs:
6357
if: ${{ matrix.os == 'ubuntu-latest' }}
6458
run: sudo apt-get install -y fuse libfuse2
6559

66-
- name: Setup JDK 23
67-
uses: actions/setup-java@v4
68-
with:
69-
java-version: '23'
70-
distribution: 'temurin'
71-
7260
- name: Setup Gradle
7361
uses: gradle/actions/setup-gradle@v4
7462

.github/workflows/test.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ jobs:
2323
if: ${{ matrix.os == 'ubuntu-latest' }}
2424
run: sudo apt-get install -y fuse libfuse2
2525

26-
- name: Setup JDK 23
27-
uses: actions/setup-java@v4
28-
with:
29-
java-version: '23'
30-
distribution: 'temurin'
31-
3226
- name: Setup Gradle
3327
uses: gradle/actions/setup-gradle@v4
3428

build.gradle

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,20 @@ version '1.5.0'
1515
def currentOS = DefaultNativePlatform.currentOperatingSystem
1616

1717
java {
18-
targetCompatibility = JavaVersion.VERSION_23
19-
sourceCompatibility = JavaVersion.VERSION_23
18+
targetCompatibility = JavaVersion.VERSION_24
19+
sourceCompatibility = JavaVersion.VERSION_24
2020
}
2121

2222
application {
2323
mainModule = 'Opal'
2424
mainClass = 'com.codedead.opal.OpalApplication'
25+
applicationDefaultJvmArgs = [
26+
'--enable-native-access', 'javafx.graphics,javafx.media'
27+
]
2528
}
2629

2730
javafx {
28-
version = '23.0.1'
31+
version = '24.0.1'
2932
configuration = 'implementation'
3033
modules = ['javafx.base', 'javafx.controls', 'javafx.fxml', 'javafx.media']
3134
}
@@ -106,9 +109,10 @@ tasks.register('AppImage') {
106109
from '.AppImage/.AppDir/Opal.png'
107110
into layout.buildDirectory.dir("AppImage/Opal.AppDir/usr/lib")
108111
}
109-
exec {
112+
def appCreate = providers.exec {
110113
commandLine 'sh', "${project.rootDir}/.AppImage/createAppImage.sh", "${project.version.toString()}"
111114
}
115+
println(appCreate.standardOutput.asText.get().toString())
112116
delete layout.buildDirectory.dir("AppImage/Opal.AppDir")
113117
}
114118
}
@@ -135,9 +139,9 @@ repositories {
135139
dependencies {
136140
implementation 'org.apache.logging.log4j:log4j-core:2.24.3'
137141
implementation 'io.github.mkpaz:atlantafx-base:2.0.1'
138-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.18.2'
139-
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.4'
140-
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.11.4'
142+
implementation 'com.fasterxml.jackson.core:jackson-databind:2.19.0'
143+
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.12.2'
144+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.12.2'
141145
}
142146

143147
tasks.named('test') {
Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
#This file is generated by updateDaemonJvm
2-
toolchainVersion=23
2+
toolchainUrl.FREE_BSD.AARCH64=https\://api.foojay.io/disco/v3.0/ids/e2cc0e462b4aba5b04eca0c0195de913/redirect
3+
toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/a5bf7c0ea8df214d631cfabda0bb22a1/redirect
4+
toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/e2cc0e462b4aba5b04eca0c0195de913/redirect
5+
toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/a5bf7c0ea8df214d631cfabda0bb22a1/redirect
6+
toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/2e552f294b8202503b915a2776a20522/redirect
7+
toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/bafd1c103acb25b7a51b71a030745362/redirect
8+
toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/e2cc0e462b4aba5b04eca0c0195de913/redirect
9+
toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/a5bf7c0ea8df214d631cfabda0bb22a1/redirect
10+
toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/ea8137c0d013bbba75915958eff8424d/redirect
11+
toolchainVendor=AMAZON
12+
toolchainVersion=24

gradle/wrapper/gradle-wrapper.jar

181 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

settings.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
rootProject.name = 'Opal'
1+
buildscript {
2+
rootProject.name = 'Opal'
3+
}
4+
5+
plugins {
6+
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.10.0'
7+
}

0 commit comments

Comments
 (0)