diff --git a/.github/workflows/build-and-publish.yaml b/.github/workflows/build-and-publish.yaml index d05d07b..ec1d95d 100644 --- a/.github/workflows/build-and-publish.yaml +++ b/.github/workflows/build-and-publish.yaml @@ -8,7 +8,7 @@ on: jobs: build-and-publish: name: Java Gradle - uses: bakdata/ci-templates/.github/workflows/java-gradle-library.yaml@1.40.5 + uses: bakdata/ci-templates/.github/workflows/java-gradle-library.yaml@1.40.6 with: java-version: 17 secrets: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b139422..6a30c40 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.5 + uses: bakdata/ci-templates/.github/workflows/java-gradle-release.yaml@1.40.6 with: java-version: 17 release-type: "${{ inputs.release-type }}" diff --git a/build.gradle.kts b/build.gradle.kts index 49c1aa0..71a4a0d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,10 +1,10 @@ plugins { // release id("net.researchgate.release") version "3.0.2" - id("com.bakdata.sonar") version "1.1.11" - id("com.bakdata.sonatype") version "1.1.11" - id("org.hildan.github.changelog") version "1.12.1" - id("io.freefair.lombok") version "6.6.1" apply false + id("com.bakdata.sonar") version "1.1.16" + id("com.bakdata.sonatype") version "1.1.14" + id("org.hildan.github.changelog") version "2.2.0" + id("io.freefair.lombok") version "8.4" apply false } allprojects { @@ -51,9 +51,10 @@ configure { subprojects { apply(plugin = "java-library") apply(plugin = "io.freefair.lombok") - configure { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + java { + toolchain { + languageVersion = JavaLanguageVersion.of(11) + } } tasks.withType { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 2b22d05..309b4e1 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +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-all.zip networkTimeout=10000 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists