Skip to content

Commit f92ce72

Browse files
committedNov 4, 2024·
feat: dependency upgrades, JDK upgrade, improved support for KDE (linux), upgraded Gradle
1 parent 7585d87 commit f92ce72

File tree

7 files changed

+21
-18
lines changed

7 files changed

+21
-18
lines changed
 

‎.github/workflows/release.yml

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

26-
- name: Setup JDK 22
26+
- name: Setup JDK 23
2727
uses: actions/setup-java@v4
2828
with:
29-
java-version: '22'
29+
java-version: '23'
3030
distribution: 'temurin'
3131

3232
- name: Setup Gradle
33-
uses: gradle/actions/setup-gradle@v3
33+
uses: gradle/actions/setup-gradle@v4
3434

3535
- name: Build
3636
run: ./gradlew build
@@ -63,14 +63,14 @@ jobs:
6363
if: ${{ matrix.os == 'ubuntu-latest' }}
6464
run: sudo apt-get install -y fuse libfuse2
6565

66-
- name: Setup JDK 22
66+
- name: Setup JDK 23
6767
uses: actions/setup-java@v4
6868
with:
69-
java-version: '22'
69+
java-version: '23'
7070
distribution: 'temurin'
7171

7272
- name: Setup Gradle
73-
uses: gradle/actions/setup-gradle@v3
73+
uses: gradle/actions/setup-gradle@v4
7474

7575
- name: Switch portable flag (Linux)
7676
if: ${{ matrix.os == 'ubuntu-latest' }}

‎.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ jobs:
2323
if: ${{ matrix.os == 'ubuntu-latest' }}
2424
run: sudo apt-get install -y fuse libfuse2
2525

26-
- name: Setup JDK 22
26+
- name: Setup JDK 23
2727
uses: actions/setup-java@v4
2828
with:
29-
java-version: '22'
29+
java-version: '23'
3030
distribution: 'temurin'
3131

3232
- name: Setup Gradle
33-
uses: gradle/actions/setup-gradle@v3
33+
uses: gradle/actions/setup-gradle@v4
3434

3535
- name: Test
3636
run: ./gradlew test

‎build.gradle

+7-7
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ version '1.4.0'
1515
def currentOS = DefaultNativePlatform.currentOperatingSystem
1616

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

2222
application {
@@ -25,7 +25,7 @@ application {
2525
}
2626

2727
javafx {
28-
version = '22.0.1'
28+
version = '23.0.1'
2929
configuration = 'implementation'
3030
modules = ['javafx.base', 'javafx.controls', 'javafx.fxml', 'javafx.media']
3131
}
@@ -140,11 +140,11 @@ repositories {
140140
}
141141

142142
dependencies {
143-
implementation 'org.apache.logging.log4j:log4j-core:2.23.1'
143+
implementation 'org.apache.logging.log4j:log4j-core:2.24.1'
144144
implementation 'io.github.mkpaz:atlantafx-base:2.0.1'
145-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.2'
146-
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.3'
147-
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.3'
145+
implementation 'com.fasterxml.jackson.core:jackson-databind:2.18.1'
146+
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.3'
147+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.11.3'
148148
}
149149

150150
tasks.named('test') {

‎gradle/gradle-daemon-jvm.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#This file is generated by updateDaemonJvm
2-
toolchainVersion=22
2+
toolchainVersion=23

‎gradle/wrapper/gradle-wrapper.jar

79 Bytes
Binary file not shown.

‎gradle/wrapper/gradle-wrapper.properties

+1-1
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.9-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

‎src/main/java/com/codedead/opal/utils/RunnableSiteOpener.java

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ public void run() {
3838
try {
3939
if (Desktop.isDesktopSupported() && Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) {
4040
Desktop.getDesktop().browse(new URI(url));
41+
} else {
42+
final String[] str = new String[]{"xdg-open", url};
43+
Runtime.getRuntime().exec(str);
4144
}
4245
if (iRunnableHelper != null) {
4346
iRunnableHelper.executed();

0 commit comments

Comments
 (0)
Please sign in to comment.