diff --git a/build.gradle b/build.gradle index 7aa48a4..4d78cc1 100644 --- a/build.gradle +++ b/build.gradle @@ -37,13 +37,19 @@ dependencies { testCompile libraries.jsonpath } +jar { + // make sure "normal" jar is also build (for include in daqlocal) + enabled = true + // make sure "normal" jar will not overwritte by "executable" jar + classifier = 'normal' +} + uploadArchives { repositories { mavenDeployer { pom.artifactId = 'queryrest' } } } - task dropIt(dependsOn: build) { doLast { exec{ executable "curl"; args "-X", "POST", "-F", "file=@build/libs/ch.psi.daq.queryrest-" + version + ".jar", "https://dropit.psi.ch/upload"; }