Files
gls_docs/build.gradle
Zellweger Christof Ralf 1d07c618a9 ATEST-124:
- implement the query validator
2015-07-30 12:16:31 +02:00

47 lines
1.2 KiB
Groovy

version = '1.0.0'
buildscript {
dependencies { classpath(libraries.spring_boot_gradle_plugin) }
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.query'))
compile 'org.hibernate:hibernate-validator:5.2.0.Final'
compile(libraries.spring_boot_starter_web) {
exclude group: 'org.slf4j', module: 'log4j-over-slf4j'
}
compile libraries.commons_lang
testCompile libraries.spring_boot_starter_test
testCompile libraries.jsonassert
testCompile libraries.jsonpath
}
uploadArchives {
repositories {
mavenDeployer { pom.artifactId = 'queryrest' }
}
}
task dropItQueryREST(dependsOn: build) << {
exec{ executable "curl"; args "-X", "POST", "-F", "file=@build/libs/ch.psi.daq.queryrest-" + version + ".jar", "http://dropit.psi.ch:8080/upload"; }
}