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-spring-www/build.gradle | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'juick-spring-www/build.gradle') diff --git a/juick-spring-www/build.gradle b/juick-spring-www/build.gradle index 14b3bb9c..c05cc612 100644 --- a/juick-spring-www/build.gradle +++ b/juick-spring-www/build.gradle @@ -18,14 +18,13 @@ apply plugin: 'war' apply plugin: 'org.akhikhl.gretty' apply plugin: 'com.github.ben-manes.versions' -def springFrameworkVersion = "4.3.4.RELEASE" def thymeleafVersion = "3.0.2.RELEASE" dependencies { compile project(':juick-server') compile "com.sun.mail:javax.mail:1.5.6" compile "org.pegdown:pegdown:1.6.0" - compile "org.springframework:spring-webmvc:${springFrameworkVersion}" + compile "org.springframework:spring-webmvc:${rootProject.springFrameworkVersion}" compile "org.thymeleaf:thymeleaf:${thymeleafVersion}" compile "org.thymeleaf:thymeleaf-spring4:${thymeleafVersion}" compile "org.thymeleaf.extras:thymeleaf-extras-java8time:3.0.0.RELEASE" @@ -34,7 +33,7 @@ dependencies { testCompile "junit:junit:4.12" testCompile "org.mockito:mockito-core:1.+" - testCompile "org.springframework:spring-test:${springFrameworkVersion}" + testCompile "org.springframework:spring-test:${rootProject.springFrameworkVersion}" testCompile "ch.vorburger.mariaDB4j:mariaDB4j:2.2.2" testCompile "org.thymeleaf:thymeleaf-testing:3.0.1.RELEASE" -- cgit v1.2.3