Skip to content

upgrade to AK 4.0 / CP 8.0 dependencies #85

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions aggregating-average/kstreams/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
}

plugins {
id "java"
id "application"
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}

Expand All @@ -16,7 +16,7 @@ java {
}

application {
mainClass = "io.confluent.developer.KafkaStreamsRunningAverage"
mainClass = 'io.confluent.developer.KafkaStreamsRunningAverage'
}

repositories {
Expand All @@ -27,17 +27,17 @@ repositories {

dependencies {
implementation project(':common')
implementation "org.slf4j:slf4j-simple:2.0.7"
implementation 'org.apache.kafka:kafka-streams:3.6.0'
implementation 'org.slf4j:slf4j-simple:2.0.7'
implementation 'org.apache.kafka:kafka-streams:4.0.0'
implementation('org.apache.kafka:kafka-clients') {
version {
strictly '3.6.0'
strictly '4.0.0'
}
}
implementation "io.confluent:kafka-streams-avro-serde:7.5.1"
implementation "com.typesafe:config:1.4.2"
implementation 'io.confluent:kafka-streams-avro-serde:7.5.1'
implementation 'com.typesafe:config:1.4.2'

testImplementation "org.apache.kafka:kafka-streams-test-utils:3.6.0"
testImplementation 'org.apache.kafka:kafka-streams-test-utils:4.0.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.2'
testImplementation 'org.hamcrest:hamcrest:2.2'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
Expand All @@ -49,20 +49,20 @@ test {
testLogging {
outputs.upToDateWhen { false }
showStandardStreams = true
events "PASSED", "SKIPPED", "FAILED", "STANDARD_OUT", "STANDARD_ERROR"
exceptionFormat = "full"
events 'PASSED', 'SKIPPED', 'FAILED', 'STANDARD_OUT', 'STANDARD_ERROR'
exceptionFormat = 'full'
}
}

jar {
manifest {
attributes(
"Class-Path": configurations.runtimeClasspath.collect { it.getName() }.join(" ")
'Class-Path': configurations.runtimeClasspath.collect { it.getName() }.join(' ')
)
}
}

shadowJar {
archiveBaseName = "aggregating-average-standalone"
archiveBaseName = 'aggregating-average-standalone'
archiveClassifier = ''
}
2 changes: 1 addition & 1 deletion aggregating-count/flinksql/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ java {
targetCompatibility = JavaVersion.VERSION_17
}

version = "0.0.1"
version = '0.0.1'

repositories {
mavenCentral()
Expand Down
26 changes: 13 additions & 13 deletions aggregating-count/kstreams/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
}

plugins {
id "java"
id "application"
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}

Expand All @@ -16,7 +16,7 @@ java {
}

application {
mainClass = "io.confluent.developer.KafkaStreamsAggregatingCount"
mainClass = 'io.confluent.developer.KafkaStreamsAggregatingCount'
}

repositories {
Expand All @@ -26,17 +26,17 @@ repositories {

dependencies {
implementation project(':common')
implementation "org.slf4j:slf4j-simple:2.0.7"
implementation 'org.apache.kafka:kafka-streams:3.6.0'
implementation 'org.slf4j:slf4j-simple:2.0.7'
implementation 'org.apache.kafka:kafka-streams:4.0.0'
implementation('org.apache.kafka:kafka-clients') {
version {
strictly '3.6.0'
strictly '4.0.0'
}
}
implementation "io.confluent:kafka-streams-avro-serde:7.5.1"
implementation "com.typesafe:config:1.4.2"
implementation 'io.confluent:kafka-streams-avro-serde:7.5.1'
implementation 'com.typesafe:config:1.4.2'

testImplementation "org.apache.kafka:kafka-streams-test-utils:3.6.0"
testImplementation 'org.apache.kafka:kafka-streams-test-utils:4.0.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.2'
testImplementation 'org.hamcrest:hamcrest:2.2'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
Expand All @@ -48,20 +48,20 @@ test {
testLogging {
outputs.upToDateWhen { false }
showStandardStreams = true
events "PASSED", "SKIPPED", "FAILED", "STANDARD_OUT", "STANDARD_ERROR"
exceptionFormat = "full"
events 'PASSED', 'SKIPPED', 'FAILED', 'STANDARD_OUT', 'STANDARD_ERROR'
exceptionFormat = 'full'
}
}

jar {
manifest {
attributes(
"Class-Path": configurations.runtimeClasspath.collect { it.getName() }.join(" ")
'Class-Path': configurations.runtimeClasspath.collect { it.getName() }.join(' ')
)
}
}

shadowJar {
archiveBaseName = "aggregating-count-standalone"
archiveBaseName = 'aggregating-count-standalone'
archiveClassifier = ''
}
2 changes: 1 addition & 1 deletion aggregating-minmax/flinksql/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
version = "0.0.1"
version = '0.0.1'

repositories {
mavenCentral()
Expand Down
24 changes: 12 additions & 12 deletions aggregating-minmax/kstreams/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ buildscript {
}

plugins {
id "java"
id "application"
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}

Expand All @@ -24,7 +24,7 @@ java {
}

application {
mainClass = "io.confluent.developer.AggregatingMinMax"
mainClass = 'io.confluent.developer.AggregatingMinMax'
}

repositories {
Expand All @@ -34,17 +34,17 @@ repositories {

dependencies {
implementation project(':common')
implementation "org.slf4j:slf4j-simple:2.0.7"
implementation 'org.apache.kafka:kafka-streams:3.6.0'
implementation 'org.slf4j:slf4j-simple:2.0.7'
implementation 'org.apache.kafka:kafka-streams:4.0.0'
implementation('org.apache.kafka:kafka-clients') {
version {
strictly '3.6.0'
strictly '4.0.0'
}
}
implementation "io.confluent:kafka-streams-avro-serde:7.5.1"
implementation "com.typesafe:config:1.4.2"
implementation 'io.confluent:kafka-streams-avro-serde:7.5.1'
implementation 'com.typesafe:config:1.4.2'

testImplementation "org.apache.kafka:kafka-streams-test-utils:3.6.0"
testImplementation 'org.apache.kafka:kafka-streams-test-utils:4.0.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.2'
testImplementation 'org.hamcrest:hamcrest:2.2'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
Expand All @@ -56,13 +56,13 @@ test {
testLogging {
outputs.upToDateWhen { false }
showStandardStreams = true
events "PASSED", "SKIPPED", "FAILED", "STANDARD_OUT", "STANDARD_ERROR"
exceptionFormat = "full"
events 'PASSED', 'SKIPPED', 'FAILED', 'STANDARD_OUT', 'STANDARD_ERROR'
exceptionFormat = 'full'
}
}

shadowJar {
archiveBaseName = "aggregating-minmax-standalone"
archiveBaseName = 'aggregating-minmax-standalone'
archiveClassifier = ''
}

24 changes: 12 additions & 12 deletions aggregating-sum/kstreams/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ buildscript {
}

plugins {
id "java"
id "application"
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}

Expand All @@ -24,7 +24,7 @@ java {
}

application {
mainClass = "io.confluent.developer.AggregatingSum"
mainClass = 'io.confluent.developer.AggregatingSum'
}

repositories {
Expand All @@ -34,17 +34,17 @@ repositories {

dependencies {
implementation project(':common')
implementation "org.slf4j:slf4j-simple:2.0.7"
implementation 'org.apache.kafka:kafka-streams:3.6.0'
implementation 'org.slf4j:slf4j-simple:2.0.7'
implementation 'org.apache.kafka:kafka-streams:4.0.0'
implementation('org.apache.kafka:kafka-clients') {
version {
strictly '3.6.0'
strictly '4.0.0'
}
}
implementation "io.confluent:kafka-streams-avro-serde:7.5.1"
implementation "com.typesafe:config:1.4.2"
implementation 'io.confluent:kafka-streams-avro-serde:7.5.1'
implementation 'com.typesafe:config:1.4.2'

testImplementation "org.apache.kafka:kafka-streams-test-utils:3.6.0"
testImplementation 'org.apache.kafka:kafka-streams-test-utils:4.0.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.2'
testImplementation 'org.hamcrest:hamcrest:2.2'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
Expand All @@ -56,13 +56,13 @@ test {
testLogging {
outputs.upToDateWhen { false }
showStandardStreams = true
events "PASSED", "SKIPPED", "FAILED", "STANDARD_OUT", "STANDARD_ERROR"
exceptionFormat = "full"
events 'PASSED', 'SKIPPED', 'FAILED', 'STANDARD_OUT', 'STANDARD_ERROR'
exceptionFormat = 'full'
}
}

shadowJar {
archiveBaseName = "aggregating-sum-standalone"
archiveBaseName = 'aggregating-sum-standalone'
archiveClassifier = ''
}

2 changes: 1 addition & 1 deletion array-expansion/flinksql/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
version = "0.0.1"
version = '0.0.1'

repositories {
mavenCentral()
Expand Down
8 changes: 6 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
allprojects {
repositories {
mavenCentral()
maven {
url = uri('https://repository.apache.org/content/groups/staging/')
}
maven { url 'https://packages.confluent.io/maven/' }
}
}

Expand All @@ -29,8 +33,8 @@ subprojects {
tasks.withType(Test) {
testLogging {
outputs.upToDateWhen { false }
events "PASSED", "SKIPPED", "FAILED", "STANDARD_OUT", "STANDARD_ERROR"
exceptionFormat = "full"
events 'PASSED', 'SKIPPED', 'FAILED', 'STANDARD_OUT', 'STANDARD_ERROR'
exceptionFormat = 'full'
}
}
}
Expand Down
24 changes: 12 additions & 12 deletions client-telemetry-reporter-plugin/kafka/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}

plugins {
id "java"
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}

Expand All @@ -21,15 +21,15 @@ repositories {

dependencies {
implementation project(':common')
implementation "org.slf4j:slf4j-simple:2.0.7"
implementation "io.opentelemetry.proto:opentelemetry-proto:1.0.0-alpha"
implementation "io.grpc:grpc-api:1.66.0"
implementation "io.grpc:grpc-netty-shaded:1.66.0"
implementation "io.grpc:grpc-protobuf:1.66.0"
implementation "io.grpc:grpc-stub:1.66.0"
implementation 'org.slf4j:slf4j-simple:2.0.7'
implementation 'io.opentelemetry.proto:opentelemetry-proto:1.0.0-alpha'
implementation 'io.grpc:grpc-api:1.66.0'
implementation 'io.grpc:grpc-netty-shaded:1.66.0'
implementation 'io.grpc:grpc-protobuf:1.66.0'
implementation 'io.grpc:grpc-stub:1.66.0'
implementation('org.apache.kafka:kafka-clients') {
version {
strictly '3.8.0'
strictly '4.0.0'
}
}
}
Expand All @@ -39,8 +39,8 @@ test {
testLogging {
outputs.upToDateWhen { false }
showStandardStreams = true
events "PASSED", "SKIPPED", "FAILED", "STANDARD_OUT", "STANDARD_ERROR"
exceptionFormat = "full"
events 'PASSED', 'SKIPPED', 'FAILED', 'STANDARD_OUT', 'STANDARD_ERROR'
exceptionFormat = 'full'
}
}

Expand All @@ -50,7 +50,7 @@ jar {
}

shadowJar {
archiveBaseName = "client-telemetry-reporter-plugin"
archiveBaseName = 'client-telemetry-reporter-plugin'
archiveClassifier = ''
mergeServiceFiles()

Expand All @@ -63,6 +63,6 @@ shadowJar {
dependencies {
exclude(dependency('org.apache.kafka:kafka-clients'))
// exclude proto files from the jar
exclude "**/opentelemetry/proto/**/*.proto"
exclude '**/opentelemetry/proto/**/*.proto'
}
}
Loading