Skip to content

Commit

Permalink
chore(dependency): unpin mysql-connector-java (#1464)
Browse files Browse the repository at this point in the history
Before:
```
$ ./gradlew front50-sql-mysql:dI --dependency mysql-connector-java --configuration runtimeClasspath

> Task :front50-sql-mysql:dependencyInsight
mysql:mysql-connector-java:8.0.33
  Variant runtime:
    | Attribute Name                 | Provided     | Requested    |
    |--------------------------------|--------------|--------------|
    | org.gradle.status              | release      |              |
    | org.gradle.category            | library      | library      |
    | org.gradle.libraryelements     | jar          | jar          |
    | org.gradle.usage               | java-runtime | java-runtime |
    | org.gradle.dependency.bundling |              | external     |
    | org.gradle.jvm.environment     |              | standard-jvm |
    | org.gradle.jvm.version         |              | 11           |
   Selection reasons:
      - By constraint
      - Forced

mysql:mysql-connector-java:8.0.33
\--- io.spinnaker.kork:kork-bom:7.227.0
     \--- runtimeClasspath

mysql:mysql-connector-java:8.0.12 -> 8.0.33
\--- runtimeClasspath
```

After:
```
$ ./gradlew front50-sql-mysql:dI --dependency mysql-connector-java --configuration runtimeClasspath

> Task :front50-sql-mysql:dependencyInsight
mysql:mysql-connector-java:8.0.33
  Variant runtime:
    | Attribute Name                 | Provided     | Requested    |
    |--------------------------------|--------------|--------------|
    | org.gradle.status              | release      |              |
    | org.gradle.category            | library      | library      |
    | org.gradle.libraryelements     | jar          | jar          |
    | org.gradle.usage               | java-runtime | java-runtime |
    | org.gradle.dependency.bundling |              | external     |
    | org.gradle.jvm.environment     |              | standard-jvm |
    | org.gradle.jvm.version         |              | 11           |
   Selection reasons:
      - By constraint
      - Forced

mysql:mysql-connector-java:8.0.33
\--- io.spinnaker.kork:kork-bom:7.227.0
     \--- runtimeClasspath

mysql:mysql-connector-java -> 8.0.33
\--- runtimeClasspath
```
  • Loading branch information
j-sandy authored May 16, 2024
1 parent a7081ef commit d292d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front50-sql-mysql/front50-sql-mysql.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
dependencies {
runtimeOnly "mysql:mysql-connector-java:8.0.12"
runtimeOnly "mysql:mysql-connector-java"
}

0 comments on commit d292d19

Please sign in to comment.