Provide dropit command.

This commit is contained in:
Fabian Märki
2015-06-30 11:30:49 +02:00
parent b79d2c5107
commit cf044b2595
2 changed files with 5 additions and 1 deletions

View File

@ -47,4 +47,8 @@ uploadArchives {
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"; }
}