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 Nov 3, 2023
1 parent 45c7577 commit d29b5ce
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 20
java-version: 21

- uses: gradle/wrapper-validation-action@v1

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

- name: Run ${{ matrix.task }}
uses: gradle/gradle-build-action@v2
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 20
java-version: 21

- name: Run ${{ matrix.task }}
uses: gradle/gradle-build-action@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 20
java-version: 21

- name: Cache
uses: gradle/gradle-build-action@v2
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 20
java-version: 21

- name: Cache
uses: gradle/gradle-build-action@v2
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 @@ -32,7 +32,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 20
java-version: 21

- uses: gradle/gradle-build-action@v2

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 20
java-version: 21

- name: Build app with Gradle
uses: gradle/gradle-build-action@v2
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 20
java-version: 21

- uses: gradle/gradle-build-action@v2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_diffuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 20
java-version: 21

- uses: actions/cache@v3
name: Download base
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ internal class AndroidQualityPluginTest : WithGradleProjectTest() {
}
kotlin {
jvmToolchain(20)
jvmToolchain(21)
}
tasks.withType(JavaCompile).configureEach {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ allprojects {
}
}
kotlin {
jvmToolchain(20)
jvmToolchain(21)
}
}
tasks.withType(Test).configureEach {
Expand Down
2 changes: 1 addition & 1 deletion gradle/plugins/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies {
}

kotlin {
jvmToolchain(20)
jvmToolchain(21)
}

def targetJavaVersion = JavaVersion.VERSION_11
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ internal class QualityPluginTest : WithGradleProjectTest() {
}
kotlin {
jvmToolchain(20)
jvmToolchain(21)
}
def targetJavaVersion = JavaVersion.VERSION_11
Expand Down

0 comments on commit d29b5ce

Please sign in to comment.