2015-11-25 10:18:08 -05:00
|
|
|
apply plugin: 'elasticsearch.build'
|
|
|
|
|
|
|
|
dependencies {
|
2019-06-04 16:50:23 -04:00
|
|
|
compile project(':x-pack:plugin:core')
|
|
|
|
compile project(':server')
|
|
|
|
testCompile project(':test:framework')
|
2015-11-25 10:18:08 -05:00
|
|
|
}
|
|
|
|
|
2016-07-28 01:38:18 -04:00
|
|
|
project.forbiddenPatterns {
|
|
|
|
exclude '**/*.key'
|
|
|
|
}
|
|
|
|
|
2015-11-25 10:18:08 -05:00
|
|
|
dependencyLicenses.enabled = false
|
2016-08-16 17:23:37 -04:00
|
|
|
|
|
|
|
task buildZip(type: Zip, dependsOn: jar) {
|
2016-11-07 15:21:01 -05:00
|
|
|
String parentDir = "license-tools-${version}"
|
|
|
|
into(parentDir + '/lib') {
|
2016-08-16 17:23:37 -04:00
|
|
|
from jar
|
|
|
|
from configurations.runtime
|
2018-07-24 11:53:04 -04:00
|
|
|
}
|
2016-11-07 15:21:01 -05:00
|
|
|
into(parentDir + '/bin') {
|
2016-08-16 17:23:37 -04:00
|
|
|
from 'bin'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
assemble.dependsOn buildZip
|