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