51 lines
1.1 KiB
Groovy
51 lines
1.1 KiB
Groovy
version = '1.0.0'
|
|
|
|
buildscript {
|
|
dependencies {
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.4.RELEASE")
|
|
}
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
}
|
|
apply plugin: 'spring-boot'
|
|
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
|
|
springBoot {
|
|
// when using spring loaded turn on noverify
|
|
noverify = true
|
|
}
|
|
|
|
applicationDefaultJvmArgs = [
|
|
"-Dfile.encoding=UTF-8",
|
|
// if you need to debug java agents:
|
|
"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5006"
|
|
]
|
|
|
|
//configurations {
|
|
// compile.exclude group: "com.fasterxml.jackson.core"
|
|
//}
|
|
|
|
dependencies {
|
|
compile (project(':ch.psi.daq.cassandra'))
|
|
compile (project(':ch.psi.daq.hazelcast'))
|
|
compile 'org.springframework.boot:spring-boot-starter-web:1.2.4.RELEASE'
|
|
compile 'com.google.code.gson:gson:2+'
|
|
compile 'org.apache.commons:commons-lang3:3.4'
|
|
|
|
testCompile 'org.springframework.boot:spring-boot-starter-test:1.2.4.RELEASE'
|
|
testCompile 'org.skyscreamer:jsonassert:1.2.3'
|
|
testCompile 'com.jayway.jsonpath:json-path:2.0.0'
|
|
}
|
|
|
|
uploadArchives {
|
|
repositories {
|
|
mavenDeployer {
|
|
pom.artifactId = 'rest'
|
|
}
|
|
}
|
|
} |