forked from evolv34/kafka-sink-connect-ws
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
executable file
·70 lines (60 loc) · 1.64 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
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 = 'client-connect'
version = '0.1.0'
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart',
'Implementation-Version': '0.1.0',
'Main-Class': 'com.websockets.api.MainApp'
}
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:'kafka-clients', version:'0.10.0.0'
compile group: 'org.apache.kafka', name: 'kafka-streams', version:'0.10.0.0'
compile group: 'org.java-websocket', name: 'Java-WebSocket', version: '1.3.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.+'
}
configurations.all{
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
}
test {
systemProperties 'property': 'value'
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}