aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-08-10 15:32:57 +0300
committerGravatar Vitaly Takmazov2016-08-10 15:32:57 +0300
commit84429b5cba2a10c12a956684d237c89c92d76ebb (patch)
tree1994082b51fa41c5b1e1aab219078f8c0afc6596
parentefe270f4ec97a74c3513ec5ae27f64e90e8fa945 (diff)
gradle: add versions plugin and update dependencies
-rw-r--r--build.gradle2
-rw-r--r--juick-api/build.gradle5
-rw-r--r--juick-core/build.gradle1
-rw-r--r--juick-rss/build.gradle3
-rw-r--r--juick-ws/build.gradle5
-rw-r--r--juick-www/build.gradle7
6 files changed, 15 insertions, 8 deletions
diff --git a/build.gradle b/build.gradle
index 6bc0e5be..7c1b7ece 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,9 +1,11 @@
buildscript {
repositories {
mavenCentral()
+ jcenter()
}
dependencies {
classpath 'org.akhikhl.gretty:gretty:+'
+ classpath 'com.github.ben-manes:gradle-versions-plugin:0.13.0'
}
}
apply plugin: 'java'
diff --git a/juick-api/build.gradle b/juick-api/build.gradle
index c4d5f074..8bf8556c 100644
--- a/juick-api/build.gradle
+++ b/juick-api/build.gradle
@@ -10,6 +10,7 @@ buildscript {
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'org.akhikhl.gretty'
+apply plugin: 'com.github.ben-manes.versions'
apply plugin: 'com.github.tkruse.groovysh'
repositories {
@@ -25,8 +26,8 @@ dependencies {
compile 'javax.inject:javax.inject:1'
compile 'com.github.pengrad:java-telegram-bot-api:2.1.1'
compile 'org.msbotframework4j:msbotframework4j-builder:0.1.4'
- compile 'com.neovisionaries:nv-websocket-client:1.27'
- compile 'org.apache.commons:commons-dbcp2:2.0'
+ compile 'com.neovisionaries:nv-websocket-client:1.29'
+ compile 'org.apache.commons:commons-dbcp2:2.1.1'
compile 'net.coobird:thumbnailator:0.4.8'
providedRuntime 'mysql:mysql-connector-java:5.1.39'
}
diff --git a/juick-core/build.gradle b/juick-core/build.gradle
index ea50b3a4..afe7c2b2 100644
--- a/juick-core/build.gradle
+++ b/juick-core/build.gradle
@@ -1,4 +1,5 @@
apply plugin: 'java'
+apply plugin: 'com.github.ben-manes.versions'
repositories {
mavenCentral()
diff --git a/juick-rss/build.gradle b/juick-rss/build.gradle
index 92873120..6eab9249 100644
--- a/juick-rss/build.gradle
+++ b/juick-rss/build.gradle
@@ -1,6 +1,7 @@
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'org.akhikhl.gretty'
+apply plugin: 'com.github.ben-manes.versions'
repositories {
mavenCentral()
@@ -9,7 +10,7 @@ repositories {
dependencies {
compile project(':juick-core')
providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
- compile 'org.apache.commons:commons-dbcp2:2.0'
+ compile 'org.apache.commons:commons-dbcp2:2.1.1'
providedRuntime 'mysql:mysql-connector-java:5.1.39'
}
diff --git a/juick-ws/build.gradle b/juick-ws/build.gradle
index 97012734..8e86dd83 100644
--- a/juick-ws/build.gradle
+++ b/juick-ws/build.gradle
@@ -9,6 +9,7 @@ task compileFrontend(type: NpmTask) {
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'org.akhikhl.gretty'
+apply plugin: 'com.github.ben-manes.versions'
repositories {
mavenCentral()
@@ -29,8 +30,8 @@ dependencies {
compile "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}"
compile "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:${jacksonVersion}"
compile 'javax.inject:javax.inject:1'
- compile 'org.apache.httpcomponents:httpclient:4.5.1'
- compile 'org.apache.commons:commons-dbcp2:2.0'
+ compile 'org.apache.httpcomponents:httpclient:4.5.2'
+ compile 'org.apache.commons:commons-dbcp2:2.1.1'
compile 'com.mitchellbosecke:pebble-spring4:2.2.2'
providedRuntime 'mysql:mysql-connector-java:5.1.39'
}
diff --git a/juick-www/build.gradle b/juick-www/build.gradle
index 6089ca15..4a2372f1 100644
--- a/juick-www/build.gradle
+++ b/juick-www/build.gradle
@@ -19,6 +19,7 @@ task compileFrontend(type: NpmTask) {
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'org.akhikhl.gretty'
+apply plugin: 'com.github.ben-manes.versions'
apply plugin: 'com.github.tkruse.groovysh'
repositories {
@@ -28,11 +29,11 @@ repositories {
dependencies {
compile project(':juick-core')
compile project(':deps:com.juick.xmpp')
- compile 'com.github.scribejava:scribejava-apis:2.7.3'
- compile 'org.apache.httpcomponents:httpclient:4.5.1'
+ compile 'com.github.scribejava:scribejava-apis:3.0.0'
+ compile 'org.apache.httpcomponents:httpclient:4.5.2'
compile 'org.apache.commons:commons-lang3:3.4'
compile "org.springframework:spring-jdbc:4.3.2.RELEASE"
- compile 'org.apache.commons:commons-dbcp2:2.0'
+ compile 'org.apache.commons:commons-dbcp2:2.1.1'
compile 'org.json:json:20151123'
compile 'net.coobird:thumbnailator:0.4.8'
compile 'com.github.ooxi:serialized-php-parser:0.5.0'