build.gradle 806 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
buildscript {
    repositories {
        mavenCentral()
    }
}

apply plugin: 'java'

repositories {
    mavenCentral()
11
    maven{url 'http://maven.restlet.com'}
12 13 14 15 16 17 18 19 20
}

sourceSets {
    main {
        java { srcDir 'src' }
    }
}

dependencies {
21 22 23 24 25 26
    compile project(':RMBTUtil')
    compile 'log4j:apache-log4j-extras:1.2.17'
    compile 'org.json:json:20160212'

    compile 'org.apache.camel:camel-restlet:2.16.2'

27 28 29
    compile 'org.jumpmind.symmetric.jdbc:postgresql:9.2-1002-jdbc4'
}

30 31
jar {
   from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
32 33 34
   from('src/') {
	include 'at/alladin/rmbt/qos/testserver/crt/qosserver.jks'
   }
35 36 37
   manifest { attributes 'Main-Class': 'at.alladin.rmbt.qos.testserver.TestServer' }
}

38
task wrapper(type: Wrapper) {
39
    gradleVersion = '2.2.1'
40
}