-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
45 lines (37 loc) · 1.08 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
plugins {
id 'java-library'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
group = "io.github.rerorero"
version = "0.2.0"
ext {
kafkaVersion = "2.8.0"
junitJupiterVersion = '5.7.1'
}
repositories {
mavenCentral()
}
dependencies {
implementation "org.apache.kafka:connect-api:${kafkaVersion}"
implementation "org.apache.kafka:connect-transforms:${kafkaVersion}"
implementation 'io.github.rerorero:kafka-connect-jsonpath-accessor:0.2.0'
// for testing
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-params:${junitJupiterVersion}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}"
testImplementation "org.mockito:mockito-core:3.+"
testRuntimeOnly('org.slf4j:slf4j-simple:1.7.30')
}
shadowJar {
archiveFileName = "kafka-smt-jsonpath-tools.jar"
dependencies {
exclude(dependency('org.apache.kafka::.*'))
}
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
test {
useJUnitPlatform()
}