Skip to content

Commit b815406

Browse files
committed
Build with Java 25
1 parent 9a693e4 commit b815406

20 files changed

Lines changed: 32 additions & 30 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737
- name: Checkout repository
3838
uses: actions/checkout@v6
3939

40-
- name: Set up JDK 21
40+
- name: Set up JDK 25
4141
uses: actions/setup-java@v5
4242
with:
43-
java-version: '21'
43+
java-version: '25'
4444
distribution: 'temurin'
4545

4646
# Initializes the CodeQL tools for scanning.

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
java: [ '21', '25' ]
19+
java: [ '25' ]
2020

2121
steps:
2222
- uses: actions/checkout@v6
2323

2424
- name: Verify gradle wrapper
2525
uses: gradle/actions/wrapper-validation@v4
26-
if: matrix.java == '21'
26+
if: matrix.java == '25'
2727

2828
- name: Set up JDK ${{ matrix.java }}
2929
uses: actions/setup-java@v5

MakeRTextInstaller.nsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
; HM NIS Edit Wizard helper defines
44
!define PRODUCT_NAME "RText"
5-
!define PRODUCT_VERSION "6.0.3"
5+
!define PRODUCT_VERSION "6.1.0"
66
!define PRODUCT_WEB_SITE "https://bobbylight.github.io/RText/"
77
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\RText.exe"
88
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
@@ -97,7 +97,8 @@ Section Uninstall
9797
RMDir /r "$INSTDIR\jre-17.0.2" ; From prior installs
9898
RMDir /r "$INSTDIR\jre-17.0.5" ; From prior installs
9999
RMDir /r "$INSTDIR\jre-17.0.6" ; From prior installs
100-
RMDir /r "$INSTDIR\jre-17.0.8"
100+
RMDir /r "$INSTDIR\jre-17.0.8" ; From prior installs
101+
RMDir /r "$INSTDIR\jre-25.0.1"
101102
RMDir /r "$INSTDIR\lnfs" ; From prior installs
102103
RMDir /r "$INSTDIR\plugins"
103104
Delete /REBOOTOK "$INSTDIR\RText.*"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ all unit tests, and create the jar, and run:
3030
./gradlew build installDist
3131
java -jar build/install/rtext/RText.jar
3232

33-
Note that RText requires Java 21 or later to build.
33+
Note that RText requires Java 25 or later to build.
3434

3535
### Building the Windows application and installer
3636

build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ apply plugin: 'io.github.gradle-nexus.publish-plugin'
1414

1515
group = 'com.fifesoft'
1616
ext.isReleaseVersion = !project.version.endsWith('SNAPSHOT')
17-
// Note: Local JDK 21: /Library/Java/JavaVirtualMachines/jdk-21.0.5+11/Contents/Home
17+
// Note: Local JDK 25: /Library/Java/JavaVirtualMachines/jdk-25.0.1+8/Contents/Home
1818

19-
assert JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_21)
19+
assert JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_25)
2020

2121
configurations.all { // Check for updates every build
2222
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
@@ -423,7 +423,8 @@ generateWindowsStarterExe.dependsOn('generateWindowsJre')
423423

424424
task generateMacApp {
425425
doLast {
426-
exec {
426+
def execOps = services.get(org.gradle.process.ExecOperations)
427+
execOps.exec {
427428
commandLine '/bin/bash', '-c', './mac/build-mac-app.sh'
428429
}
429430
}

gradle.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Note that Maven- and signing-related properties are in <maven-home>/gradle.properties
2-
javaReleaseVersion=21
3-
version=6.0.3-SNAPSHOT
2+
javaReleaseVersion=25
3+
version=6.1.0-SNAPSHOT
44

55
# The JDK to use when generating the embedded JRE
66
#jdkRoot=C:/java/jdk-17.0.8
77
#export JAVA_HOME=/c/java/jdk-17.0.8
8-
jdkRoot=/Library/Java/JavaVirtualMachines/jdk-21.0.5+11/Contents/Home
9-
#export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-21.0.5+11/Contents/Home
8+
jdkRoot=/Library/Java/JavaVirtualMachines/jdk-25.0.1+8/Contents/Home
9+
#export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-25.0.1+8/Contents/Home
1010

1111
# The folder to store the embedded JRE in (Windows only)
12-
embeddedJreFolderName=jre-17.0.8
12+
embeddedJreFolderName=jre-25.0.1
1313

1414
launch4jExe=C:/Progra~2/Launch4j/launch4jc.exe

launch4j.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<manifest></manifest>
1616
<icon>rtext.ico</icon>
1717
<jre>
18-
<path>jre-17.0.8</path>
18+
<path>jre-25.0.1</path>
1919
<bundledJre64Bit>true</bundledJre64Bit>
2020
<bundledJreAsFallback>false</bundledJreAsFallback>
2121
<minVersion></minVersion>

mac/build-mac-app.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# The version of RText you're building. This appears in the generated
1010
# .dmg file name.
11-
APP_VERSION=6.0.3
11+
APP_VERSION=6.1.0
1212

1313
#
1414
# You probably don't want to change anything below this line.

src/main/dist/doc/en/Changes.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ RText Change Log
22
https://bobbylight.github.io/RText/
33
-----------------------------------
44

5-
6.0.3
5+
6.1.0
66
------------------
7-
- Updating bundled JRE from 17 to 21
7+
- Updating bundled JRE from 17 to 25
88
-
99

1010
6.0.2 (08/05/2023)

src/main/java/org/fife/rtext/RText.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public class RText extends AbstractPluggableGUIApplication<RTextPrefs>
169169
*/
170170
private static final String PROPERTY_PRINT_START_TIMES = "printStartTimes";
171171

172-
public static final String VERSION_STRING = "6.0.3";
172+
public static final String VERSION_STRING = "6.1.0";
173173

174174

175175
/**

0 commit comments

Comments
 (0)