Files
gls_docs/build.gradle
Zellweger Christof Ralf e7467aeea1 ATEST-259:
- removing unused test dependencies
2015-10-28 12:53:32 +01:00

43 lines
1.1 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"
]
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 dropIt(dependsOn: build) << {
exec{ executable "curl"; args "-X", "POST", "-F", "file=@build/libs/ch.psi.daq.queryrest-" + version + ".jar", "http://dropit.psi.ch:8080/upload"; }
}