From 9a3f6a10efed8a241a83b9838fb96a1563984f31 Mon Sep 17 00:00:00 2001 From: Jakob Edding <15202881+JakobEdding@users.noreply.github.com> Date: Thu, 18 Apr 2024 15:28:59 +0200 Subject: [PATCH] Update Gradle, Gradle plugins, GH workflows --- .github/workflows/build-and-publish.yaml | 7 +++---- .github/workflows/release.yaml | 2 +- build.gradle.kts | 6 +++--- gradle/wrapper/gradle-wrapper.properties | 3 ++- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-and-publish.yaml b/.github/workflows/build-and-publish.yaml index ab068ca..271d9b4 100644 --- a/.github/workflows/build-and-publish.yaml +++ b/.github/workflows/build-and-publish.yaml @@ -2,13 +2,13 @@ name: Build and Publish on: push: - tags: ["**"] - branches: ["**"] + tags: [ "**" ] + branches: [ "**" ] jobs: build-and-publish: name: Java Gradle - uses: bakdata/ci-templates/.github/workflows/java-gradle-library.yaml@1.40.8 + uses: bakdata/ci-templates/.github/workflows/java-gradle-library.yaml@1.45.3 with: java-version: 17 secrets: @@ -19,5 +19,4 @@ jobs: signing-password: ${{ secrets.SONATYPE_SIGNING_PASSWORD }} ossrh-username: ${{ secrets.SONATYPE_OSSRH_USERNAME }} ossrh-password: ${{ secrets.SONATYPE_OSSRH_PASSWORD }} - github-username: ${{ secrets.GH_USERNAME }} github-token: ${{ secrets.GH_TOKEN }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b99f2fe..535f4a8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,7 +16,7 @@ on: jobs: java-gradle-release: name: Java Gradle - uses: bakdata/ci-templates/.github/workflows/java-gradle-release.yaml@1.40.8 + uses: bakdata/ci-templates/.github/workflows/java-gradle-release.yaml@1.45.3 with: java-version: 17 release-type: "${{ inputs.release-type }}" diff --git a/build.gradle.kts b/build.gradle.kts index 037f093..0689f27 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,10 +3,10 @@ description = "A Java client for KServe inference services." plugins { `java-library` id("net.researchgate.release") version "3.0.2" - id("com.bakdata.sonar") version "1.1.14" - id("com.bakdata.sonatype") version "1.1.14" + id("com.bakdata.sonar") version "1.4.0" + id("com.bakdata.sonatype") version "1.4.0" id("org.hildan.github.changelog") version "1.12.1" - id("io.freefair.lombok") version "6.6.3" + id("io.freefair.lombok") version "8.4" id("java-test-fixtures") } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index f42e62f..744c64d 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip +networkTimeout=10000 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists