Skip to content

Commit

Permalink
refactor(mysql): update mysql connector coordinate during upgrade to …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
j-sandy committed May 31, 2024
1 parent 0aebe78 commit 7d91ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kayenta-sql/kayenta-sql.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ dependencies {
implementation project(":kayenta-core")
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
implementation "org.liquibase:liquibase-core"
runtimeOnly "mysql:mysql-connector-java"
runtimeOnly "com.mysql:mysql-connector-j"
runtimeOnly "org.postgresql:postgresql"
}

0 comments on commit 7d91ed6

Please sign in to comment.