-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
76 lines (66 loc) · 2.73 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
description = "Kafka Streams application that analyzes dead letters in your Kafka cluster"
plugins {
`java-library`
id("com.bakdata.release") version "1.4.0"
id("com.bakdata.sonar") version "1.4.0"
id("com.bakdata.sonatype") version "1.4.1"
id("io.freefair.lombok") version "8.4"
id("com.google.cloud.tools.jib") version "3.4.3"
id("com.bakdata.avro") version "1.4.0"
}
allprojects {
group = "com.bakdata.kafka"
tasks.withType<Test> {
maxParallelForks = 4
useJUnitPlatform()
}
repositories {
mavenCentral()
maven(url = "https://packages.confluent.io/maven/")
}
}
configure<JavaPluginExtension> {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
configure<com.bakdata.gradle.SonatypeSettings> {
developers {
developer {
name.set("Philipp Schirmer")
id.set("philipp94831")
}
}
}
dependencies {
val confluentVersion: String by project
implementation(group = "io.confluent", name = "kafka-streams-avro-serde", version = confluentVersion)
val kafkaVersion: String by project
implementation(group = "org.apache.kafka", name = "connect-runtime", version = kafkaVersion) {
exclude(group = "org.slf4j", module = "slf4j-log4j12")
}
val streamsBootstrapVersion = "3.0.1"
api(
group = "com.bakdata.kafka",
name = "streams-bootstrap-large-messages",
version = streamsBootstrapVersion
)
implementation(group = "com.bakdata.kafka", name = "streams-bootstrap-cli", version = streamsBootstrapVersion)
implementation(group = "com.bakdata.kafka", name = "brute-force-serde", version = "1.2.1")
implementation(group = "com.bakdata.kafka", name = "large-message-serde", version = "2.7.0")
implementation(group = "org.jooq", name = "jool", version = "0.9.14")
avroApi(group = "com.bakdata.kafka", name = "error-handling-avro", version = "1.5.0")
val log4jVersion = "2.23.1"
implementation(group = "org.apache.logging.log4j", name = "log4j-slf4j2-impl", version = log4jVersion)
val junitVersion = "5.10.1"
testRuntimeOnly(group = "org.junit.jupiter", name = "junit-jupiter-engine", version = junitVersion)
testImplementation(group = "org.junit.jupiter", name = "junit-jupiter-api", version = junitVersion)
testImplementation(group = "org.junit.jupiter", name = "junit-jupiter-params", version = junitVersion)
testImplementation(group = "com.bakdata.kafka", name = "streams-bootstrap-test", version = streamsBootstrapVersion)
testImplementation(group = "org.assertj", name = "assertj-core", version = "3.25.1")
}
avro {
setGettersReturnOptional(true)
setOptionalGettersForNullableFieldsOnly(true)
setFieldVisibility("PRIVATE")
}