Skip to content

Commit 632a98e

Browse files
authored
Upgrade to Gradle 8.4 (#25)
1 parent 756b0af commit 632a98e

File tree

9 files changed

+189
-122
lines changed

9 files changed

+189
-122
lines changed

.github/workflows/build-and-publish.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ on:
88
jobs:
99
build-and-publish:
1010
name: Java Gradle
11-
uses: bakdata/ci-templates/.github/workflows/[email protected]
11+
uses: bakdata/ci-templates/.github/workflows/[email protected]
12+
with:
13+
java-version: 17
1214
secrets:
1315
sonar-token: ${{ secrets.SONARCLOUD_TOKEN }}
1416
sonar-organization: ${{ secrets.SONARCLOUD_ORGANIZATION }}

.github/workflows/release.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ on:
1616
jobs:
1717
java-gradle-release:
1818
name: Java Gradle
19-
uses: bakdata/ci-templates/.github/workflows/java-gradle-release.yaml@1.39.1
19+
uses: bakdata/ci-templates/.github/workflows/java-gradle-release.yaml@1.40.6
2020
with:
21+
java-version: 17
2122
release-type: "${{ inputs.release-type }}"
2223
secrets:
2324
github-email: "${{ secrets.GH_EMAIL }}"

build.gradle.kts

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
plugins {
22
id("net.researchgate.release") version "3.0.2"
3-
id("com.bakdata.sonar") version "1.1.7"
4-
id("com.bakdata.sonatype") version "1.1.7"
5-
id("org.hildan.github.changelog") version "1.12.1"
6-
id("io.freefair.lombok") version "6.6.3"
3+
id("com.bakdata.sonar") version "1.1.17"
4+
id("com.bakdata.sonatype") version "1.1.14"
5+
id("org.hildan.github.changelog") version "2.2.0"
6+
id("io.freefair.lombok") version "8.4"
77
}
88

99
allprojects {
@@ -54,8 +54,9 @@ subprojects {
5454
apply(plugin = "io.freefair.lombok")
5555

5656
configure<JavaPluginExtension> {
57-
sourceCompatibility = JavaVersion.VERSION_11
58-
targetCompatibility = JavaVersion.VERSION_11
57+
toolchain {
58+
languageVersion = JavaLanguageVersion.of(11)
59+
}
5960
}
6061
}
6162

error-handling-avro/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
description = "Transform dead letters in Kafka Streams applications to Avro format."
22

33
plugins {
4-
id("com.github.davidmc24.gradle.plugin.avro") version "1.5.0"
4+
id("com.github.davidmc24.gradle.plugin.avro") version "1.9.1"
55
}
66

77
// add .avsc files to jar allowing us to use them in other projects as a schema dependency

error-handling-core/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
description = "A library for error handling in Kafka Streams."
22

33
plugins {
4-
id("com.github.davidmc24.gradle.plugin.avro") version "1.5.0"
4+
id("com.github.davidmc24.gradle.plugin.avro") version "1.9.1"
55
}
66

77
dependencies {

gradle/wrapper/gradle-wrapper.jar

2.32 KB
Binary file not shown.
+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)