From 75b1989685576fcb1b7198ec90c4dd361587c973 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 3 Apr 2018 11:10:48 +0300 Subject: gradle: mysql-connector is provided dependency --- juick-server-jdbc/build.gradle | 2 -- juick-server/build.gradle | 2 ++ juick-www/build.gradle | 1 + 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' -- cgit v1.2.3