Skip to content

Commit b520364

Browse files
committed
Upgrade Java (from 17 to 25) and Gradle version (from 7.3 to 9.3.1)
1 parent b97f384 commit b520364

9 files changed

Lines changed: 252 additions & 156 deletions

File tree

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@ logs/
1212
*.obj
1313

1414
# Ignore backup files
15-
*.java~
15+
*.java~
16+
17+
# Ignore notes, TO-DO lists, and other temporary files
18+
.dev/

build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ plugins {
66
group 'dev.askov.mjcompiler'
77
version '1.0'
88

9+
java {
10+
toolchain {
11+
languageVersion.set(JavaLanguageVersion.of(25))
12+
}
13+
}
14+
915
repositories {
1016
mavenCentral()
1117
flatDir {
@@ -49,5 +55,5 @@ tasks.register('genParser', JavaExec) {
4955
}
5056

5157
application {
52-
mainClassName = 'dev.askov.mjcompiler.MJCompiler'
58+
mainClass.set('dev.askov.mjcompiler.MJCompiler')
5359
}

gradle/wrapper/gradle-wrapper.jar

-9.33 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-all.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)