OpenSearch/license-tools/build.gradle
Ryan Ernst 1fa0f835fe Build: Reorganize src roots
This change flattens the directory structure, both for the elasticsearch
specific directories, as well as within the elasticsearch x-pack plugin.

closes elastic/elasticsearch#2957

Original commit: elastic/x-pack-elasticsearch@45891a4632
2016-10-01 09:46:43 +02:00

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