From 677471013442bcb5455d4c827d7a13a17392fc8f Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 2 Dec 2016 23:37:04 +0300 Subject: move project dependencies versions definitions to the root project --- juick-api/build.gradle | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'juick-api/build.gradle') 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' } -- cgit v1.2.3