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.hazelcast')) compile libraries.spring_boot_starter_web compile libraries.commons_lang testCompile libraries.spring_boot_starter_test testCompile libraries.jsonassert testCompile libraries.jsonpath } uploadArchives { repositories { mavenDeployer { pom.artifactId = 'rest' } } } task dropItQueryREST(dependsOn: build) << { exec{ executable "curl"; args "-X", "POST", "-F", "file=@build/libs/ch.psi.daq.rest-" + version + ".jar", "http://dropit.psi.ch:8080"; } }