29 lines
1017 B
Groovy
29 lines
1017 B
Groovy
// Subprojects aren't published so do not assemble
|
|
gradle.projectsEvaluated {
|
|
subprojects {
|
|
Task assemble = project.tasks.findByName('assemble')
|
|
if (assemble) {
|
|
assemble.enabled = false
|
|
}
|
|
}
|
|
}
|
|
|
|
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')
|
|
}
|
|
}
|
|
}
|