Skip to content

Commit

Permalink
Compile with Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski committed Dec 4, 2023
1 parent 1a5c1e2 commit 2a4e230
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 20
java-version: 21

- name: Write Gradle build properties to `~/.gradle/gradle.properties`
run: |
Expand Down Expand Up @@ -86,11 +86,11 @@ jobs:
strategy:
fail-fast: false
matrix:
javaVersion: [ 17, 20 ]
javaVersion: [ 17, 21 ]
gradle: [ release-candidate ]
agp: ${{ fromJSON(needs.provide-agp-version-matrix.outputs.agp-versions) }}
include:
- javaVersion: 11
- javaVersion: 17
gradle: "8.0"
agp: 8.0.0
- javaVersion: 17
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
strategy:
fail-fast: false
matrix:
javaVersion: [ 17, 20 ]
javaVersion: [ 17, 21 ]
os: [ ubuntu-latest, windows-latest, macos-latest ]

steps:
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 20
java-version: 21

- name: Write Gradle build properties to `~/.gradle/gradle.properties`
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency_diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 20
java-version: 21

- name: Write Gradle build properties to `~/.gradle/gradle.properties`
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 20
java-version: 21

- name: Write Gradle build properties to `~/.gradle/gradle.properties`
run: |
Expand Down
2 changes: 1 addition & 1 deletion easylauncher/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ tasks.withType(KotlinCompile).configureEach {
}
}
kotlin {
jvmToolchain(20)
jvmToolchain(21)
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion gradle/plugins/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies {
}

kotlin {
jvmToolchain(20)
jvmToolchain(21)
}

gradlePlugin {
Expand Down

0 comments on commit 2a4e230

Please sign in to comment.