-
Notifications
You must be signed in to change notification settings - Fork 47
/
build.gradle
69 lines (58 loc) · 1.75 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
64
65
66
67
68
69
buildscript {
repositories {
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.2'
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.20.0"
classpath "gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.3.0"
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: "com.github.spotbugs"
description = "kafka-backup"
group = 'de.azapps.kafkabackup'
ext {
pomHumanName = 'Kafka Backup'
pomDesc = 'Kafka Backup Connector'
}
allprojects {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
repositories {
mavenCentral()
}
dependencies {
implementation "org.slf4j:slf4j-api:1.7.26"
implementation group: 'org.apache.kafka', name: 'connect-api', version: '2.4.0'
implementation group: 'org.apache.kafka', name: 'kafka-clients', version: '2.4.0'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.10.1'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.10.1'
implementation group: 'net.sf.jopt-simple', name: 'jopt-simple', version: '6.0-alpha-3'
implementation 'com.github.spotbugs:spotbugs-annotations:4.0.1'
testImplementation('org.junit.jupiter:junit-jupiter:5.6.0')
}
apply plugin: "com.github.johnrengelman.shadow"
shadowJar {
dependencies {
}
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from subprojects*.tasks.javadoc.destinationDir
}
task sourcesJar(type: Jar) {
from subprojects*.sourceSets.main.allSource
classifier = 'sources'
}
artifacts {
archives javadocJar, sourcesJar
}
test {
useJUnitPlatform()
}