forked from RADAR-base/kafka-connect-transform-keyvalue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
40 lines (33 loc) · 1.03 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
plugins {
id 'java'
id 'java-library'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
version = '7.6.0-hotfix'
description = "Kafka Connect transformation used to copy the key and value to a struct in the value of the record."
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
repositories {
mavenCentral()
}
dependencies {
compileOnly 'org.apache.kafka:connect-transforms:3.6.2'
implementation 'org.mongodb:bson:4.3.1'
implementation 'org.mongodb:mongodb-driver-sync:4.3.1'
implementation 'com.fasterxml.jackson.core:jackson-core:2.18.1'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.18.1'
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.18.1'
testImplementation "junit:junit:4.13.2"
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.7.0"
}
wrapper {
gradleVersion = '8.3'
}
test {
useJUnitPlatform()
}
shadowJar {
archiveClassifier.set('')
archiveVersion.set('')
mergeServiceFiles()
}