-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
63 lines (55 loc) · 1.56 KB
/
build.gradle
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
buildscript {
ext.kotlin_version = '1.8.0'
repositories {
mavenCentral()
}
dependencies {
classpath "com.github.jengelman.gradle.plugins:shadow:6.0.0"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id 'java'
}
group 'io.confluent'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven {
url "https://packages.confluent.io/maven"
}
}
apply plugin: "com.github.johnrengelman.shadow"
apply plugin: 'kotlin'
def kafkaVersion = '3.3.2' // 3.0.0 or 3.3.2
dependencies {
implementation 'com.newrelic.agent.java:newrelic-api:7.11.1'
implementation 'org.apache.logging.log4j:log4j-api:2.17.2'
implementation 'org.apache.logging.log4j:log4j-core:2.17.2'
implementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.17.2'
implementation("org.apache.kafka:kafka-streams:${kafkaVersion}") {
exclude group: 'org.apache.kafka', module: 'kafka-clients'
}
implementation("org.apache.kafka:kafka-clients:${kafkaVersion}!!")
testImplementation "org.apache.kafka:kafka-streams-test-utils:${kafkaVersion}"
testImplementation "junit:junit:4.13.2"
testImplementation 'org.hamcrest:hamcrest:2.2'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}
test {
testLogging {
outputs.upToDateWhen { false }
showStandardStreams = true
exceptionFormat = "full"
}
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}