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 --- build.gradle | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 3af0fdae..a32de4f1 100644 --- a/build.gradle +++ b/build.gradle @@ -4,6 +4,15 @@ allprojects { maven { url "https://jitpack.io" } } } + +project.ext { + springFrameworkVersion = '4.3.4.RELEASE' + springSecurityVersion = '4.2.0.RELEASE' + jacksonVersion = '2.8.5' + slf4jVersion = '1.7.21' + logbackVersion = '1.1.7' +} + buildscript { repositories { mavenCentral() @@ -24,11 +33,11 @@ dependencies { testCompile project(':juick-www') testCompile project(':juick-xmpp') testCompile 'org.json:json:20160810' - testCompile 'com.fasterxml.jackson.core:jackson-core:2.8.1' - testCompile 'com.fasterxml.jackson.core:jackson-databind:2.8.1' - testCompile 'org.springframework:spring-jdbc:4.3.4.RELEASE' + testCompile "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}" + testCompile "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}" + testCompile "org.springframework:spring-jdbc:${springFrameworkVersion}" testCompile 'ch.vorburger.mariaDB4j:mariaDB4j:2.2.2' - testCompile 'org.slf4j:slf4j-api:1.7.21' + testCompile "org.slf4j:slf4j-api:${slf4jVersion}" testCompile 'junit:junit:4.12' testRuntime 'mysql:mysql-connector-java:5.1.40' } -- cgit v1.2.3