Commit c469cb9 1 parent 2e5e900 commit c469cb9 Copy full SHA for c469cb9
File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v4
15
- - uses : actions/setup-java@v3
15
+ - uses : actions/setup-java@v4
16
16
with :
17
17
distribution : ' liberica'
18
18
java-version : |
19
- 17
19
+ 22
20
20
21
21
21
- name : Validate Gradle wrapper
22
22
uses : gradle/wrapper-validation-action@v1
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ apply from: 'gradle/docker.gradle'
27
27
28
28
java {
29
29
toolchain {
30
- languageVersion = JavaLanguageVersion . of(21 )
30
+ languageVersion = JavaLanguageVersion . of(22 )
31
31
}
32
32
}
33
33
Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ ext.debugJvmArgs = [
39
39
40
40
version = grgit ? " ${ grgit.head().abbreviatedId} .${ Instant.now().epochSecond} " : (System . env. SOURCE_VERSION ?: ' 0.0.0-UNKNOWN' )
41
41
42
- bootRun {
43
- jvmArgs + = commonJvmArgs + jmxJvmArgs + debugJvmArgs
44
- }
42
+ bootRun. jvmArgs + = commonJvmArgs + jmxJvmArgs + debugJvmArgs
43
+ // TODO: remove this once the Boot Gradle Plugin works with Java 22
44
+ springBoot . mainClass = ' resourceater.ResourceaterApplication '
45
45
46
46
mkdir ' logs' // The JVM is not able to start if the GC logs folder does not exists :(
You can’t perform that action at this time.
0 commit comments