Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(sql): Conditionally allow MySQL Connector to be excluded from the build #596

Merged
merged 2 commits into from
Sep 19, 2019

Conversation

scottfrederick
Copy link
Contributor

This change allows a custom build of Spinnaker to exclude the mysql-connector-java driver from the generated distribution with a build command like:

./gradlew front50-web:installDist -x test -PexcludeSqlDrivers

The driver is included in the build by default, so the build results are not changed for existing open-source and custom builds.

The Gradle dependency types were changed from implementation to runtimeOnly to reflect the fact that mysql-connector-java is not needed for compilation.

@cfieber cfieber merged commit 10c6e77 into spinnaker:master Sep 19, 2019
@scottfrederick scottfrederick deleted the exclude-mysql branch September 19, 2019 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants