aboutsummaryrefslogtreecommitdiff
path: root/juick-server/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-server/build.gradle
parenta797587800b68821a810fa3d833352dc272d42f7 (diff)
move project dependencies versions definitions to the root project
Diffstat (limited to 'juick-server/build.gradle')
-rw-r--r--juick-server/build.gradle40
1 files changed, 17 insertions, 23 deletions
diff --git a/juick-server/build.gradle b/juick-server/build.gradle
index 23387506..550f41c5 100644
--- a/juick-server/build.gradle
+++ b/juick-server/build.gradle
@@ -4,40 +4,34 @@ apply plugin: 'com.github.ben-manes.versions'
sourceCompatibility = 1.8
-def jacksonVersion = '2.8.5'
-def logbackVersion = '1.1.7'
-def slf4jVersion = '1.7.21'
-def springFrameworkVersion = '4.3.4.RELEASE'
-def springSecurityVersion = "4.2.0.RELEASE"
-
dependencies {
compile project(':juick-core')
- compile "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}"
- compile "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}"
- compile "com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}"
- compile "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:${jacksonVersion}"
+ compile "com.fasterxml.jackson.core:jackson-core:${rootProject.jacksonVersion}"
+ compile "com.fasterxml.jackson.core:jackson-databind:${rootProject.jacksonVersion}"
+ compile "com.fasterxml.jackson.core:jackson-annotations:${rootProject.jacksonVersion}"
+ compile "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:${rootProject.jacksonVersion}"
- compile "ch.qos.logback:logback-classic:${logbackVersion}"
- compile "ch.qos.logback:logback-core:${logbackVersion}"
- compile "ch.qos.logback:logback-access:${logbackVersion}"
+ compile "ch.qos.logback:logback-classic:${rootProject.logbackVersion}"
+ compile "ch.qos.logback:logback-core:${rootProject.logbackVersion}"
+ compile "ch.qos.logback:logback-access:${rootProject.logbackVersion}"
- compile "org.slf4j:slf4j-api:${slf4jVersion}"
- compile "org.slf4j:jcl-over-slf4j:${slf4jVersion}"
- compile "org.slf4j:log4j-over-slf4j:${slf4jVersion}"
- compile "org.slf4j:jul-to-slf4j:${slf4jVersion}"
+ compile "org.slf4j:slf4j-api:${rootProject.slf4jVersion}"
+ compile "org.slf4j:jcl-over-slf4j:${rootProject.slf4jVersion}"
+ compile "org.slf4j:log4j-over-slf4j:${rootProject.slf4jVersion}"
+ compile "org.slf4j:jul-to-slf4j:${rootProject.slf4jVersion}"
compile 'org.apache.httpcomponents:httpclient:4.5.2'
compile 'org.apache.commons:commons-lang3:3.5'
compile 'org.apache.commons:commons-collections4:4.1'
compile 'commons-io:commons-io:2.5'
- compile "org.springframework:spring-context:${springFrameworkVersion}"
- compile "org.springframework:spring-jdbc:${springFrameworkVersion}"
+ compile "org.springframework:spring-context:${rootProject.springFrameworkVersion}"
+ compile "org.springframework:spring-jdbc:${rootProject.springFrameworkVersion}"
providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
- compile "org.springframework.security:spring-security-web:${springSecurityVersion}"
- compile "org.springframework.security:spring-security-config:${springSecurityVersion}"
+ compile "org.springframework.security:spring-security-web:${rootProject.springSecurityVersion}"
+ compile "org.springframework.security:spring-security-config:${rootProject.springSecurityVersion}"
compile 'org.apache.commons:commons-dbcp2:2.1.1'
compile 'com.googlecode.log4jdbc:log4jdbc:1.2'
@@ -49,8 +43,8 @@ dependencies {
testCompile "ch.vorburger.mariaDB4j:mariaDB4j:2.2.2"
testCompile "junit:junit:4.12"
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 "org.thymeleaf:thymeleaf-testing:3.0.1.RELEASE"
testRuntime "mysql:mysql-connector-java:5.1.40"