Skip to content

Commit

Permalink
chore(dependencies): Autobump korkVersion (#2086)
Browse files Browse the repository at this point in the history
* chore(dependencies): Autobump korkVersion

* 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

---------

Co-authored-by: root <root@51dce6428a99>
Co-authored-by: David Byron <dbyron@salesforce.com>
  • Loading branch information
3 people authored Jun 12, 2024
1 parent 0d43061 commit af70eb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
kotlinVersion=1.5.32
fiatVersion=1.47.0
korkVersion=7.229.0
korkVersion=7.230.0
kapt.use.worker.api=true
liquibaseTaskPrefix=liquibase
org.gradle.parallel=true
Expand Down
6 changes: 3 additions & 3 deletions keel-sql/keel-sql.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {
implementation("com.zaxxer:HikariCP")
implementation("org.liquibase:liquibase-core")

runtimeOnly("mysql:mysql-connector-java")
runtimeOnly("com.mysql:mysql-connector-j")

testImplementation("io.spinnaker.kork:kork-sql-test")
testImplementation("io.strikt:strikt-core")
Expand All @@ -41,15 +41,15 @@ dependencies {
testImplementation("org.testcontainers:mysql:${testContainersVersion}")

jooqGenerator(platform("io.spinnaker.kork:kork-bom:${korkVersion}"))
jooqGenerator("mysql:mysql-connector-java")
jooqGenerator("com.mysql:mysql-connector-j")
jooqGenerator("org.jooq:jooq-meta-extensions")
jooqGenerator("ch.qos.logback:logback-classic:1.2.3")

liquibaseRuntime(platform("io.spinnaker.kork:kork-bom:${korkVersion}"))
liquibaseRuntime("org.liquibase:liquibase-core:4.24.0")
liquibaseRuntime("ch.qos.logback:logback-classic:1.2.3")
liquibaseRuntime("org.yaml:snakeyaml:1.31")
liquibaseRuntime("mysql:mysql-connector-java")
liquibaseRuntime("com.mysql:mysql-connector-j")
}

liquibaseUpdate {
Expand Down

0 comments on commit af70eb0

Please sign in to comment.