From ed97f925d8ce01f0c8918c53e87ed348aa4d53fe Mon Sep 17 00:00:00 2001 From: j-sandy <30489233+j-sandy@users.noreply.github.com> Date: Tue, 4 Jun 2024 01:04:47 +0530 Subject: [PATCH] refactor(mysql): update mysql connector coordinate during upgrade to spring boot 2.7.x In spring boot 2.7.8 onwards mysql connector coordinate `mysql:mysql-connector-java` has been removed and only `com.mysql:mysql-connector-j` coordinate exist. https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.7-Release-Notes#mysql-jdbc-driver So, updating the mysql connector coordinate as `com.mysql:mysql-connector-j` with spring boot upgrade to 2.7.18. https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.7.18/spring-boot-dependencies-2.7.18.pom --- echo-scheduler/echo-scheduler.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/echo-scheduler/echo-scheduler.gradle b/echo-scheduler/echo-scheduler.gradle index 68f5dcdb1..f38bb84ba 100644 --- a/echo-scheduler/echo-scheduler.gradle +++ b/echo-scheduler/echo-scheduler.gradle @@ -30,7 +30,7 @@ dependencies { implementation "io.spinnaker.kork:kork-sql" if (!rootProject.hasProperty("excludeSqlDrivers")) { - runtimeOnly "mysql:mysql-connector-java" + runtimeOnly "com.mysql:mysql-connector-j" } implementation "org.springframework:spring-context-support"