Skip to content

Commit ef58e18

Browse files
committed
build(deps): bump to java 21 and gradle 8.10.2
1 parent 2dd06c2 commit ef58e18

10 files changed

Lines changed: 21 additions & 15 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020

2121
steps:
2222
- uses: actions/checkout@v4
23-
- name: Set up JDK 11
23+
- name: Set up JDK 21
2424
uses: actions/setup-java@v4
2525
with:
26-
java-version: '11'
26+
java-version: '21'
2727
distribution: 'temurin'
2828
cache: 'gradle'
2929
- name: Build with Gradle

.idea/kotlinc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

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

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ subprojects {
2121

2222
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().all {
2323
kotlinOptions {
24-
jvmTarget = JavaVersion.VERSION_11.toString()
24+
jvmTarget = JavaVersion.VERSION_21.toString()
2525
}
2626
}
2727

docs/global/modules/samples/pages/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The purpose of the examples is to give inspiration for what is possible with mod
1515
To work with the samples, you need the following software installed.:
1616

1717
* MPS `2021.2.6`
18-
* Java 11
18+
* Java 21
1919
* Docker and https://docs.docker.com/compose/[Docker Compose]
2020
+
2121
Alternatives like https://podman.io/[Podman] might work, but have not been tested.

gradle/wrapper/gradle-wrapper.jar

852 Bytes
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

gradlew

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

gradlew.bat

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

rest-api-model-server/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ tasks.named("compileKotlin") {
8282
}
8383

8484
java {
85-
sourceCompatibility = JavaVersion.VERSION_11
86-
targetCompatibility = JavaVersion.VERSION_11
85+
sourceCompatibility = JavaVersion.VERSION_21
86+
targetCompatibility = JavaVersion.VERSION_21
8787
}
8888

8989
java.sourceSets.getByName("main").java.srcDir(file("$buildDir/openapi-generator/src/main/kotlin"))
@@ -98,6 +98,6 @@ allOpen {
9898
}
9999

100100
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
101-
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString()
101+
kotlinOptions.jvmTarget = JavaVersion.VERSION_21.toString()
102102
kotlinOptions.javaParameters = true
103103
}

0 commit comments

Comments
 (0)