Skip to content

Commit

Permalink
Disable transitive dependencies when resolving bwc JDBC driver artifa…
Browse files Browse the repository at this point in the history
…ct (#73448) (#73485)
  • Loading branch information
mark-vieira committed May 27, 2021
1 parent c86e447 commit 50bc9e2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion x-pack/plugin/sql/qa/jdbc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ subprojects {
if (bwcVersion.onOrAfter(Version.fromString("7.9.0"))) {
String baseName = "v${bwcVersion}"
UnreleasedVersionInfo unreleasedVersion = BuildParams.bwcVersions.unreleasedInfo(bwcVersion)
Configuration driverConfiguration = configurations.create("jdbcDriver${baseName}")
Configuration driverConfiguration = configurations.create("jdbcDriver${baseName}") {
// TODO: Temporary workaround for https://github.com/elastic/elasticsearch/issues/73433
transitive = false
}
Object driverDependency = null

if (unreleasedVersion) {
Expand Down

0 comments on commit 50bc9e2

Please sign in to comment.