aboutsummaryrefslogtreecommitdiff
path: root/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 /build.gradle
parenta797587800b68821a810fa3d833352dc272d42f7 (diff)
move project dependencies versions definitions to the root project
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle17
1 files changed, 13 insertions, 4 deletions
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'
}