aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-04-03 11:10:48 +0300
committerGravatar Vitaly Takmazov2018-04-03 11:35:33 +0300
commit75b1989685576fcb1b7198ec90c4dd361587c973 (patch)
tree0cd83b4294ccd7c2a7fa71a82f2bc54615f6db28
parent2deb31599d662cd5ff024ec0bb2cb11d43698337 (diff)
gradle: mysql-connector is provided dependency
-rw-r--r--juick-server-jdbc/build.gradle2
-rw-r--r--juick-server/build.gradle2
-rw-r--r--juick-www/build.gradle1
3 files changed, 3 insertions, 2 deletions
diff --git a/juick-server-jdbc/build.gradle b/juick-server-jdbc/build.gradle
index d02af190..7052b04d 100644
--- a/juick-server-jdbc/build.gradle
+++ b/juick-server-jdbc/build.gradle
@@ -3,6 +3,4 @@ apply plugin: 'java'
dependencies {
compile("org.springframework.boot:spring-boot-starter-jdbc")
compile project(':juick-common')
-
- runtime 'mysql:mysql-connector-java:5.1.45'
}
diff --git a/juick-server/build.gradle b/juick-server/build.gradle
index 15e015ed..c5775416 100644
--- a/juick-server/build.gradle
+++ b/juick-server/build.gradle
@@ -20,6 +20,8 @@ dependencies {
compile 'com.rometools:rome:1.9.0'
compile 'com.rometools:rome-modules:1.9.0'
+ providedRuntime 'mysql:mysql-connector-java:5.1.45'
+
testCompile("org.springframework.boot:spring-boot-starter-test")
testCompile("org.springframework.security:spring-security-test")
testRuntime 'com.jayway.jsonpath:json-path:2.4.0'
diff --git a/juick-www/build.gradle b/juick-www/build.gradle
index 10a00b36..d33b6522 100644
--- a/juick-www/build.gradle
+++ b/juick-www/build.gradle
@@ -28,6 +28,7 @@ dependencies {
compile ('org.springframework.boot:spring-boot-starter-security')
providedRuntime("org.springframework.boot:spring-boot-starter-tomcat")
providedRuntime 'com.h2database:h2:1.4.196'
+ providedRuntime 'mysql:mysql-connector-java:5.1.45'
runtime "commons-fileupload:commons-fileupload:1.3.3"
compile 'com.github.scribejava:scribejava-apis:5.3.0'