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 (#656)
  • Loading branch information
scottfrederick authored and cfieber committed Sep 19, 2019
1 parent 8413e62 commit 4e1ea66
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion echo-scheduler/echo-scheduler.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ dependencies {
implementation "com.netflix.spinnaker.kork:kork-artifacts"
implementation "com.netflix.spinnaker.kork:kork-sql"

implementation "mysql:mysql-connector-java"
if (!rootProject.hasProperty("excludeSqlDrivers")) {
runtimeOnly "mysql:mysql-connector-java"
}

implementation "org.springframework:spring-context-support"
implementation ("org.quartz-scheduler:quartz") {
exclude group: 'com.zaxxer', module: 'HikariCP-java7'
Expand Down

0 comments on commit 4e1ea66

Please sign in to comment.