-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
39 lines (32 loc) · 1014 Bytes
/
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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
}
}
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
group 'ch.maechler.iot-home'
version '1.0'
sourceCompatibility = 11.0
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.eclipse.paho', name: 'org.eclipse.paho.client.mqttv3', version: '1.+'
compile group: 'org.apache.kafka', name: 'kafka-clients', version: '2.+'
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.+'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.+'
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.+'
}
jar {
manifest {
attributes 'Main-Class': 'ch.maechler.iothome.Mqtt2KafkaBridge'
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
}