OpenSearch/license-tools/build.gradle

26 lines
479 B
Groovy

apply plugin: 'elasticsearch.build'
dependencies {
compile project(':x-plugins:elasticsearch')
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