build.gradle 473 B

1234567891011121314151617181920212223
  1. description = 'Moquette - H2 storage'
  2. apply plugin: 'osgi'
  3. apply plugin: 'maven'
  4. dependencies {
  5. compile project(':moquette-broker')
  6. compile group: 'com.h2database', name: 'h2-mvstore', version: '1.4.192'
  7. testCompile project(path:':moquette-broker', configuration: 'archives')
  8. }
  9. task createPom () {
  10. pom { }.writeTo("build/pom.xml")
  11. }
  12. jar {
  13. into ("META-INF/maven/io.moquette/${project.name}"){
  14. from "build/pom.xml"
  15. }
  16. }
  17. jar.dependsOn createPom