OpenSearch/license-tools/build.gradle
Michael Basnight f3ec4a5208 Split up xpack plugins into their own modules (elastic/x-pack-elasticsearch#3643)
Thanks to some great work by a bunch of amazing people, the chuck norris xpack split is a go!

Original commit: elastic/x-pack-elasticsearch@dad98e28f4
2018-01-19 23:30:17 -06:00

27 lines
562 B
Groovy

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