Ryan Ernst 7aa557d8f0 Build: Add task to build zip of license tools
This roughly matches what was done in 2.x for the license tools (except
without any dependency exclusions).

Original commit: elastic/x-pack-elasticsearch@4e1f07b5fa
2016-08-16 14:23:56 -07:00

26 lines
486 B
Groovy

apply plugin: 'elasticsearch.build'
dependencies {
compile project(':x-plugins:elasticsearch:x-pack')
compile "org.elasticsearch:elasticsearch:${version}"
testCompile "org.elasticsearch.test:framework:${version}"
}
project.forbiddenPatterns {
exclude '**/*.key'
}
dependencyLicenses.enabled = false
task buildZip(type: Zip, dependsOn: jar) {
into('lib') {
from jar
from configurations.runtime
}
into('bin') {
from 'bin'
}
}
assemble.dependsOn buildZip