From d775e2173bfff63d6c751cc4c5b6844f93c373c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernd=20Pr=C3=BCnster?= Date: Wed, 3 Jul 2024 17:53:52 +0200 Subject: [PATCH] fix java version --- .github/workflows/gradle-build.yml | 2 +- .github/workflows/publish-pages-only.yml | 4 ++++ .github/workflows/publish.yml | 2 +- CHANGELOG.md | 1 + gradle.properties | 2 +- 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle-build.yml b/.github/workflows/gradle-build.yml index b1f4ae7..6ca76e0 100644 --- a/.github/workflows/gradle-build.yml +++ b/.github/workflows/gradle-build.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '11' + java-version: '17' - name: Build jar run: ./gradlew test assemble - name: Test Report diff --git a/.github/workflows/publish-pages-only.yml b/.github/workflows/publish-pages-only.yml index f142414..f299503 100644 --- a/.github/workflows/publish-pages-only.yml +++ b/.github/workflows/publish-pages-only.yml @@ -15,6 +15,10 @@ jobs: uses: actions/checkout@v3 with: submodules: recursive + - uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '17' - name: Build Dokka HTML run: ./gradlew dokkaHtml - name: Setup Pages diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3eeaa43..28c00cb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '11' + java-version: '17' - name: Publish to Sonatype run: ./gradlew clean android-attestation:publishToSonatype closeSonatypeStagingRepository env: diff --git a/CHANGELOG.md b/CHANGELOG.md index 4914bac..a58d1f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -123,6 +123,7 @@ out the attestation record. #### 1.5.2 - support HTTP proxy for fetching Android Revocation list - Dependency Updates: + - Java 17 - Kotlin 2.0.0 - bouncycastle: 1.78.1!! - coroutines: 1.8.1 diff --git a/gradle.properties b/gradle.properties index 7a5d7d8..295a4d7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -jdk.version=11 +jdk.version=17