From 164b4aba2f1732d85b5c4ea5792fb94db7744fc9 Mon Sep 17 00:00:00 2001 From: Malena Ebert Date: Fri, 16 Oct 2020 15:13:20 +0200 Subject: [PATCH] Remove unused mysql connector dependency --- build.gradle | 1 - server/sonar-db-core/build.gradle | 2 -- server/sonar-db-dao/build.gradle | 1 - server/sonar-db-migration/build.gradle | 1 - sonar-application/build.gradle | 1 - 5 files changed, 6 deletions(-) diff --git a/build.gradle b/build.gradle index eea57a99051..60e08011041 100644 --- a/build.gradle +++ b/build.gradle @@ -190,7 +190,6 @@ subprojects { dependency 'javax.servlet:javax.servlet-api:3.0.1' dependency 'javax.xml.bind:jaxb-api:2.3.0' dependency 'junit:junit:4.12' - dependency 'mysql:mysql-connector-java:5.1.46' dependency 'net.jpountz.lz4:lz4:1.3.0' dependency 'org.awaitility:awaitility:3.1.6' dependency 'org.apache.commons:commons-csv:1.4' diff --git a/server/sonar-db-core/build.gradle b/server/sonar-db-core/build.gradle index 1d83be15e67..34228167f41 100644 --- a/server/sonar-db-core/build.gradle +++ b/server/sonar-db-core/build.gradle @@ -28,7 +28,6 @@ dependencies { testCompile 'com.oracle.jdbc:ojdbc8' testCompile 'com.tngtech.java:junit-dataprovider' testCompile 'junit:junit' - testCompile 'mysql:mysql-connector-java' testCompile 'org.assertj:assertj-core' testCompile 'org.dbunit:dbunit' testCompile 'org.mockito:mockito-core' @@ -39,7 +38,6 @@ dependencies { testRuntime 'com.h2database:h2' testRuntime 'com.microsoft.sqlserver:mssql-jdbc' testRuntime 'com.oracle.jdbc:ojdbc8' - testRuntime 'mysql:mysql-connector-java' testRuntime 'org.postgresql:postgresql' } diff --git a/server/sonar-db-dao/build.gradle b/server/sonar-db-dao/build.gradle index b7c6ef08d86..01cc6e29841 100644 --- a/server/sonar-db-dao/build.gradle +++ b/server/sonar-db-dao/build.gradle @@ -27,7 +27,6 @@ dependencies { testRuntime 'com.h2database:h2' testRuntime 'com.microsoft.sqlserver:mssql-jdbc' testRuntime 'com.oracle.jdbc:ojdbc8' - testRuntime 'mysql:mysql-connector-java' testRuntime 'org.postgresql:postgresql' } diff --git a/server/sonar-db-migration/build.gradle b/server/sonar-db-migration/build.gradle index 91ab0460623..dd2969a4dea 100644 --- a/server/sonar-db-migration/build.gradle +++ b/server/sonar-db-migration/build.gradle @@ -25,7 +25,6 @@ dependencies { testRuntime 'com.h2database:h2' testRuntime 'com.microsoft.sqlserver:mssql-jdbc' testRuntime 'com.oracle.jdbc:ojdbc8' - testRuntime 'mysql:mysql-connector-java' testRuntime 'org.postgresql:postgresql' } diff --git a/sonar-application/build.gradle b/sonar-application/build.gradle index 69cefb98e9e..45e889ffbc7 100644 --- a/sonar-application/build.gradle +++ b/sonar-application/build.gradle @@ -53,7 +53,6 @@ dependencies { jdbc_h2 'com.h2database:h2' jdbc_mssql 'com.microsoft.sqlserver:mssql-jdbc' - jdbc_mysql 'mysql:mysql-connector-java' jdbc_postgresql 'org.postgresql:postgresql' bundledPlugin 'org.sonarsource.auth.github:sonar-auth-github-plugin:1.5.0.870@jar' -- 2.39.5