chore(build): require a Java 20 host
This commit is contained in:
parent
4c5659b04d
commit
0b500f6940
11 changed files with 15 additions and 18 deletions
2
.github/workflows/codeql_analysis.yml
vendored
2
.github/workflows/codeql_analysis.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
|||
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 18
|
||||
java-version: 20
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@a09933a12a80f87b87005513f0abb1494c27a716 # v2.21.4
|
||||
|
|
2
.github/workflows/deploy_github_releases.yml
vendored
2
.github/workflows/deploy_github_releases.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
|||
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 18
|
||||
java-version: 20
|
||||
|
||||
- name: Decrypt secrets
|
||||
run: scripts/signing-setup.sh "$ENCRYPT_KEY"
|
||||
|
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 18
|
||||
java-version: 20
|
||||
|
||||
- name: Upload binaries
|
||||
uses: gradle/gradle-build-action@243af859f8ca30903d9d7f7936897ca0358ba691 # v2.7.1
|
||||
|
|
2
.github/workflows/deploy_snapshot.yml
vendored
2
.github/workflows/deploy_snapshot.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
|||
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 18
|
||||
java-version: 20
|
||||
|
||||
- name: Decrypt secrets
|
||||
run: scripts/signing-setup.sh "$ENCRYPT_KEY"
|
||||
|
|
2
.github/workflows/draft_new_release.yml
vendored
2
.github/workflows/draft_new_release.yml
vendored
|
@ -40,7 +40,7 @@ jobs:
|
|||
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 18
|
||||
java-version: 20
|
||||
|
||||
- name: Update changelog
|
||||
uses: thomaseizinger/keep-a-changelog-new-release@5bc232893483441c5d6cd6c9dcb1e48abf9a2bae # 1.3.0
|
||||
|
|
10
.github/workflows/pull_request.yml
vendored
10
.github/workflows/pull_request.yml
vendored
|
@ -45,7 +45,7 @@ jobs:
|
|||
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 18
|
||||
java-version: 20
|
||||
|
||||
- name: Copy CI gradle.properties
|
||||
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
||||
|
@ -76,7 +76,7 @@ jobs:
|
|||
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 18
|
||||
java-version: 20
|
||||
|
||||
- name: Copy CI gradle.properties
|
||||
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
||||
|
@ -114,7 +114,7 @@ jobs:
|
|||
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 18
|
||||
java-version: 20
|
||||
|
||||
- name: Copy CI gradle.properties
|
||||
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
||||
|
@ -145,7 +145,7 @@ jobs:
|
|||
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 18
|
||||
java-version: 20
|
||||
|
||||
- name: Copy CI gradle.properties
|
||||
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
||||
|
@ -176,7 +176,7 @@ jobs:
|
|||
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 18
|
||||
java-version: 20
|
||||
|
||||
- name: Copy CI gradle.properties
|
||||
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
||||
|
|
2
.github/workflows/shadow_job.yml
vendored
2
.github/workflows/shadow_job.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
|||
- release-nightly
|
||||
- nightly
|
||||
java-version:
|
||||
- 18
|
||||
- 20
|
||||
runs-on: ubuntu-latest
|
||||
name: Run Gradle-${{ matrix.gradle-version }}, AGP-${{ matrix.agp-version }}, Java-${{ matrix.java-version }}
|
||||
steps:
|
||||
|
|
2
.github/workflows/sync_crowdin.yml
vendored
2
.github/workflows/sync_crowdin.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
|||
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 18
|
||||
java-version: 20
|
||||
|
||||
- name: Download new translations from Crowdin
|
||||
uses: gradle/gradle-build-action@243af859f8ca30903d9d7f7936897ca0358ba691 # v2.7.1
|
||||
|
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 18
|
||||
java-version: 20
|
||||
|
||||
- name: Download new publicsuffix data
|
||||
uses: gradle/gradle-build-action@243af859f8ca30903d9d7f7936897ca0358ba691 # v2.7.1
|
||||
|
|
|
@ -5,10 +5,7 @@
|
|||
|
||||
plugins { `kotlin-dsl` }
|
||||
|
||||
private val jvmToolchainAction =
|
||||
Action<JavaToolchainSpec> { languageVersion.set(JavaLanguageVersion.of(17)) }
|
||||
|
||||
kotlin.jvmToolchain(jvmToolchainAction)
|
||||
kotlin.jvmToolchain(20)
|
||||
|
||||
gradlePlugin {
|
||||
plugins {
|
||||
|
|
|
@ -47,6 +47,6 @@ class KotlinCommonPlugin : Plugin<Project> {
|
|||
)
|
||||
|
||||
val JVM_TOOLCHAIN_ACTION =
|
||||
Action<JavaToolchainSpec> { languageVersion.set(JavaLanguageVersion.of(17)) }
|
||||
Action<JavaToolchainSpec> { languageVersion.set(JavaLanguageVersion.of(20)) }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue