Skip to content

Commit

Permalink
feat(sql): Conditionally allow MySQL Connector to be excluded from th…
Browse files Browse the repository at this point in the history
…e build (#596)
  • Loading branch information
scottfrederick authored and cfieber committed Sep 19, 2019
1 parent 23062eb commit 10c6e77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
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 {
implementation "mysql:mysql-connector-java:8.0.12"
runtimeOnly "mysql:mysql-connector-java:8.0.12"
}
4 changes: 3 additions & 1 deletion front50-sql/front50-sql.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ apply from: "$rootDir/gradle/kotlin.gradle"

dependencies {
implementation project(":front50-core")
implementation project(":front50-sql-mysql")
if (!rootProject.hasProperty("excludeSqlDrivers")) {
runtimeOnly project(":front50-sql-mysql")
}

implementation "com.netflix.spinnaker.kork:kork-sql"
implementation "com.netflix.spinnaker.kork:kork-exceptions"
Expand Down

0 comments on commit 10c6e77

Please sign in to comment.