2017-06-16 11:46:34 -04:00
|
|
|
// Subprojects aren't published so do not assemble
|
|
|
|
gradle.projectsEvaluated {
|
|
|
|
subprojects {
|
|
|
|
Task assemble = project.tasks.findByName('assemble')
|
|
|
|
if (assemble) {
|
2018-09-04 00:32:14 -04:00
|
|
|
assemble.enabled = false
|
2017-06-16 11:46:34 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-06-04 16:50:23 -04:00
|
|
|
|
|
|
|
configure(project('painless-whitelist')) {
|
|
|
|
configurations.all {
|
|
|
|
resolutionStrategy.dependencySubstitution {
|
|
|
|
substitute module('org.elasticsearch.plugin:elasticsearch-scripting-painless-spi') with project(':modules:lang-painless:spi')
|
|
|
|
substitute module('org.elasticsearch.test:logger-usage') with project(':test:logger-usage')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
configure(project('security-authorization-engine')) {
|
|
|
|
configurations.all {
|
|
|
|
resolutionStrategy.dependencySubstitution {
|
|
|
|
substitute module('org.elasticsearch.plugin:x-pack-core') with project(':x-pack:plugin:core')
|
|
|
|
substitute module('org.elasticsearch.client:x-pack-transport') with project(':x-pack:transport-client')
|
|
|
|
substitute module('org.elasticsearch.test:logger-usage') with project(':test:logger-usage')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|