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 Jan 4, 2024
1 parent c142d50 commit 0a726d3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 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,7 +86,7 @@ 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:
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 0a726d3

Please sign in to comment.