Rene Groeschke ed4b70190b
Replace immediate task creations by using task avoidance api (#60071) (#60504)
- Replace immediate task creations by using task avoidance api
- One step closer to #56610
- Still many tasks are created during configuration phase. Tackled in separate steps
2020-07-31 13:09:04 +02:00

28 lines
590 B
Groovy

apply plugin: 'elasticsearch.build'
dependencies {
api project(':x-pack:plugin:core')
api project(':server')
testImplementation project(':test:framework')
}
project.forbiddenPatterns {
exclude '**/*.key'
}
tasks.named("dependencyLicenses").configure { it.enabled = false }
tasks.register("buildZip", Zip) {
dependsOn "jar"
String parentDir = "license-tools-${archiveVersion}"
into(parentDir + '/lib') {
from jar
from configurations.runtimeClasspath
}
into(parentDir + '/bin') {
from 'bin'
}
}
tasks.named("assemble").configure { dependsOn("buildZip") }