Skip to content

Commit

Permalink
Remove obsolete artifact substitution rules (elastic#1473)
Browse files Browse the repository at this point in the history
Not needed in 7.x, as it already has them removed.
  • Loading branch information
jbaiera authored May 13, 2020
1 parent 417e787 commit 5c90e6d
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,20 +194,6 @@ class BuildPlugin implements Plugin<Project> {
}
}
}

// Do substitutions for ES fixture downloads
project.configurations.all { Configuration configuration ->
configuration.resolutionStrategy.dependencySubstitution { DependencySubstitutions subs ->
// TODO: Build tools requests a version format that does not match the version id of the distribution.
// Fix this when it is fixed in the mainline
subs.substitute(subs.module("dnm:elasticsearch:${project.ext.elasticsearchVersion}linux-x86_64"))
.with(subs.module("dnm:elasticsearch:${project.ext.elasticsearchVersion}-linux-x86_64"))
subs.substitute(subs.module("dnm:elasticsearch:${project.ext.elasticsearchVersion}windows-x86_64"))
.with(subs.module("dnm:elasticsearch:${project.ext.elasticsearchVersion}-windows-x86_64"))
subs.substitute(subs.module("dnm:elasticsearch:${project.ext.elasticsearchVersion}darwin-x86_64"))
.with(subs.module("dnm:elasticsearch:${project.ext.elasticsearchVersion}-darwin-x86_64"))
}
}
}

/**
Expand Down

0 comments on commit 5c90e6d

Please sign in to comment.