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
24 lines
463 B
Groovy
24 lines
463 B
Groovy
|
|
description = 'Moquette - MapDB storage'
|
|
|
|
apply plugin: 'osgi'
|
|
apply plugin: 'maven'
|
|
|
|
dependencies {
|
|
compile project(':moquette-broker')
|
|
compile group: 'org.mapdb', name: 'mapdb', version:'1.0.8'
|
|
|
|
testCompile project(path:':moquette-broker', configuration: 'archives')
|
|
}
|
|
|
|
task createPom () {
|
|
pom { }.writeTo("build/pom.xml")
|
|
}
|
|
|
|
jar {
|
|
into ("META-INF/maven/io.moquette/${project.name}"){
|
|
from "build/pom.xml"
|
|
}
|
|
}
|
|
jar.dependsOn createPom
|