ATEST-99:
- improving version for dependency management
This commit is contained in:
47
build.gradle
47
build.gradle
@ -1,29 +1,21 @@
|
|||||||
version = '1.0.0'
|
version = '1.0.0'
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
dependencies {
|
dependencies { classpath(libraries.spring_boot_gradle_plugin) }
|
||||||
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.4.RELEASE")
|
repositories { jcenter() }
|
||||||
}
|
|
||||||
repositories {
|
|
||||||
jcenter()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
apply plugin: 'spring-boot'
|
apply plugin: 'spring-boot'
|
||||||
|
|
||||||
repositories {
|
repositories { jcenter() }
|
||||||
jcenter()
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
springBoot {
|
springBoot { // when using spring loaded turn on noverify
|
||||||
// when using spring loaded turn on noverify
|
noverify = true }
|
||||||
noverify = true
|
|
||||||
}
|
|
||||||
|
|
||||||
applicationDefaultJvmArgs = [
|
applicationDefaultJvmArgs = [
|
||||||
"-Dfile.encoding=UTF-8",
|
"-Dfile.encoding=UTF-8",
|
||||||
// if you need to debug java agents:
|
// if you need to debug java agents:
|
||||||
"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5006"
|
"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5006"
|
||||||
]
|
]
|
||||||
|
|
||||||
//configurations {
|
//configurations {
|
||||||
@ -31,24 +23,21 @@ applicationDefaultJvmArgs = [
|
|||||||
//}
|
//}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile (project(':ch.psi.daq.hazelcast'))
|
compile (project(':ch.psi.daq.hazelcast'))
|
||||||
compile 'org.springframework.boot:spring-boot-starter-web:1.2.4.RELEASE'
|
compile libraries.spring_boot_starter_web
|
||||||
compile 'com.google.code.gson:gson:2+'
|
compile libraries.commons_lang
|
||||||
compile 'org.apache.commons:commons-lang3:3.4'
|
|
||||||
|
|
||||||
testCompile 'org.springframework.boot:spring-boot-starter-test:1.2.4.RELEASE'
|
testCompile libraries.spring_boot_starter_test
|
||||||
testCompile 'org.skyscreamer:jsonassert:1.2.3'
|
testCompile libraries.jsonassert
|
||||||
testCompile 'com.jayway.jsonpath:json-path:2.0.0'
|
testCompile libraries.jsonpath
|
||||||
}
|
}
|
||||||
|
|
||||||
uploadArchives {
|
uploadArchives {
|
||||||
repositories {
|
repositories {
|
||||||
mavenDeployer {
|
mavenDeployer { pom.artifactId = 'rest' }
|
||||||
pom.artifactId = 'rest'
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
task dropItQueryREST(dependsOn: build) << {
|
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"; }
|
exec{ executable "curl"; args "-X", "POST", "-F", "file=@build/libs/ch.psi.daq.rest-" + version + ".jar", "http://dropit.psi.ch:8080"; }
|
||||||
}
|
}
|
Reference in New Issue
Block a user