aboutsummaryrefslogtreecommitdiff
path: root/juick-api/build.gradle
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-12-02 23:37:04 +0300
committerGravatar Vitaly Takmazov2016-12-02 23:37:04 +0300
commit677471013442bcb5455d4c827d7a13a17392fc8f (patch)
tree9b35c6a16b67fad39e2bd17c7b48cc10d75a680c /juick-api/build.gradle
parenta797587800b68821a810fa3d833352dc272d42f7 (diff)
move project dependencies versions definitions to the root project
Diffstat (limited to 'juick-api/build.gradle')
-rw-r--r--juick-api/build.gradle9
1 files changed, 3 insertions, 6 deletions
diff --git a/juick-api/build.gradle b/juick-api/build.gradle
index 203130b2..8b6dd0e6 100644
--- a/juick-api/build.gradle
+++ b/juick-api/build.gradle
@@ -9,13 +9,10 @@ apply plugin: 'war'
apply plugin: 'org.akhikhl.gretty'
apply plugin: 'com.github.ben-manes.versions'
-def springFrameworkVersion = "4.3.4.RELEASE"
-def springSecurityVersion = "4.2.0.RELEASE"
-
dependencies {
compile project(':juick-server')
- compile "org.springframework:spring-webmvc:${springFrameworkVersion}"
+ compile "org.springframework:spring-webmvc:${rootProject.springFrameworkVersion}"
compile 'com.github.pengrad:java-telegram-bot-api:2.3.0'
compile 'org.msbotframework4j:msbotframework4j-builder:0.1.4'
@@ -26,8 +23,8 @@ dependencies {
testCompile "junit:junit:4.12"
testCompile "org.hamcrest:hamcrest-all:1.3"
testCompile "org.mockito:mockito-core:1.+"
- testCompile "org.springframework:spring-test:${springFrameworkVersion}"
- testCompile "org.springframework.security:spring-security-test:${springSecurityVersion}"
+ testCompile "org.springframework:spring-test:${rootProject.springFrameworkVersion}"
+ testCompile "org.springframework.security:spring-security-test:${rootProject.springSecurityVersion}"
testRuntime 'com.jayway.jsonpath:json-path:2.2.0'
}