Files
IM-server-new/broker/build.gradle
T
Andreas Mager e8b105fa90 switch to gradle
gradle files added
gradle: plugins added
build: files added
.travis.yml: gradle cache stored
distribution: tar and zip file stuff added
broker/build.gradle: osgi plugin added
build: bintray upload added
pom: files removed
distribution: assembly.xml removed
gradle: test ouput added to sub builds
.editorconfig: gradle files added
build: wrapper task added
osgi: added to h2_ and mapdb_storage
gradle: files cleaned
build.gradle: jars used for tar/zip
2017-08-24 17:50:59 +02:00

52 lines
2.3 KiB
Groovy

description = 'Moquette - broker'
apply plugin: 'osgi'
apply plugin: 'maven'
dependencies {
compile group: 'io.netty', name: 'netty-common', version: nettyVersion
compile group: 'io.netty', name: 'netty-buffer', version: nettyVersion
compile group: 'io.netty', name: 'netty-transport', version: nettyVersion
compile group: 'io.netty', name: 'netty-handler', version: nettyVersion
compile group: 'io.netty', name: 'netty-codec', version: nettyVersion
compile group: 'io.netty', name: 'netty-codec-http', version: nettyVersion
compile group: 'io.netty', name: 'netty-codec-mqtt', version: nettyVersion
compile group: 'io.netty', name: 'netty-transport-native-epoll', version: nettyVersion, classifier: 'linux-x86_64'
// <classifier>${os.detected.name}-${os.detected.arch}</classifier>
compile group: 'io.dropwizard.metrics', name: 'metrics-core', version:'3.2.2'
compile group: 'io.dropwizard.metrics', name: 'metrics-jvm', version:'3.2.2'
compile group: 'com.librato.metrics', name: 'metrics-librato', version:'5.1.0'
compile group: 'com.librato.metrics', name: 'librato-java' , version:'2.1.0'
compile group: 'com.bugsnag', name: 'bugsnag', version:'[3.0,4.0)'
compile group: 'commons-codec', name: 'commons-codec', version:'1.10'
// compile group: 'org.hdrhistogram', name: 'HdrHistogram', version:'2.1.4'
compile group: 'com.hazelcast', name: 'hazelcast', version:'3.5.4'
testCompile group: 'org.fusesource.mqtt-client', name: 'mqtt-client', version:'1.12'
testCompile group: 'org.eclipse.paho', name: 'org.eclipse.paho.client.mqttv3', version:'1.0.2'
testCompile group: 'org.eclipse.jetty.websocket', name: 'websocket-client', version:'9.2.0.M1'
testCompile group: 'com.h2database', name: 'h2', version:'1.4.191'
}
task createPom () {
pom { }.writeTo("build/pom.xml")
}
jar {
manifest {
instruction 'Bundle-Description', 'Moquette lightweight MQTT Broker'
instruction 'Bundle-License', 'http://www.apache.org/licenses/LICENSE-2.0.txt, http://www.eclipse.org/org/documents/epl-v10.php'
instruction 'Import-Package', '!com.codahale.metrics*, !com.bugsnag*, !com.librato.metrics*, *'
}
into ("META-INF/maven/io.moquette/${project.name}"){
from "build/pom.xml"
}
}
jar.dependsOn createPom