-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
executable file
·73 lines (61 loc) · 1.85 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
70
71
72
73
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'
sourceCompatibility = 1.8
targetCompatibility = 1.8
version = '1.0'
repositories {
maven {
url "http://packages.confluent.io/maven/"
}
}
sourceSets {
jar{
resources {
srcDir 'src/main/resources'
}
}
}
jar {
baseName = 'kafka-connect-websocket'
mainClassName = ""
version = '0.1.0'
manifest {
attributes 'Implementation-Title': 'Kafka Connect WebSocket',
'Implementation-Version': '0.1.0'
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it).matching {
exclude 'META-INF/**.RSA'
exclude 'META-INF/MANIFEST.MF'
exclude 'META-INF/log4j-provider.properties'
} } }
}
task wrapper(type: Wrapper) {
gradleVersion = '2.3'
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
compile group: 'org.apache.kafka', name: 'connect-api', version: '0.10.1.1'
compile group: 'org.apache.kafka', name: 'kafka_2.11', version: '0.10.0.0'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.0'
compile group: 'org.apache.curator', name: 'curator-framework', version: '2.8.0'
compile group: 'org.apache.curator', name: 'curator-x-discovery', version: '2.8.0'
compile group: 'org.java-websocket', name: 'Java-WebSocket', version: '1.3.0'
compile group: 'org.apache.kafka', name:'kafka-clients', version:'0.10.0.0'
compile group: 'org.apache.avro', name: 'avro', version: '1.8.1'
compile group: 'io.confluent', name: 'kafka-avro-serializer', version: '3.0.0'
testCompile group: 'junit', name: 'junit', version: '4.+'
}
test {
systemProperties 'property': 'value'
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}