Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

Commit 4e1ea66

Browse files
scottfrederickcfieber
authored andcommitted
feat(sql): Conditionally allow MySQL Connector to be excluded from the build (spinnaker#656)
1 parent 8413e62 commit 4e1ea66

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

echo-scheduler/echo-scheduler.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ dependencies {
3030
implementation "com.netflix.spinnaker.kork:kork-artifacts"
3131
implementation "com.netflix.spinnaker.kork:kork-sql"
3232

33-
implementation "mysql:mysql-connector-java"
33+
if (!rootProject.hasProperty("excludeSqlDrivers")) {
34+
runtimeOnly "mysql:mysql-connector-java"
35+
}
36+
3437
implementation "org.springframework:spring-context-support"
3538
implementation ("org.quartz-scheduler:quartz") {
3639
exclude group: 'com.zaxxer', module: 'HikariCP-java7'

0 commit comments

Comments
 (0)