OpenSearch/elasticsearch/build.gradle
David Roberts cd2332730b Move the named pipe no bootstrap test to a separate qa module (elastic/elasticsearch#769)
This matches the way tests that need to run without an Elasticsearch
bootstrap are run in core Elasticsearch.  This should make merging to
x-pack easier.

Note that the no bootstrap tests now run after the integration tests, but
this doesn't really matter.

Original commit: elastic/x-pack-elasticsearch@5547f457b6
2017-01-23 12:08:35 +00:00

46 lines
1.3 KiB
Groovy

import org.elasticsearch.gradle.precommit.PrecommitTasks
apply plugin: 'elasticsearch.esplugin'
esplugin {
name 'ml'
description 'Machine Learning Plugin'
classname 'org.elasticsearch.xpack.ml.MlPlugin'
}
configurations {
nativeBundle
}
dependencies {
compile group: 'net.sf.supercsv', name: 'super-csv', version:"${supercsvVersion}"
nativeBundle group: "${project.group}", name: 'ml-cpp', version:"${project.version}", classifier: 'darwin-x86_64', ext: 'zip'
nativeBundle group: "${project.group}", name: 'ml-cpp', version:"${project.version}", classifier: 'linux-x86_64', ext: 'zip'
nativeBundle group: "${project.group}", name: 'ml-cpp', version:"${project.version}", classifier: 'windows-x86_64', ext: 'zip'
testCompile group: 'org.ini4j', name: 'ini4j', version:"${ini4jVersion}"
}
integTest {
cluster {
//setting 'useNativeProcess', 'true'
distribution = 'zip'
}
}
bundlePlugin {
if (project.cppLocalDists) {
def localCppBundles = fileTree(dir: cppLocalDists).matching { include "ml-cpp-${project.version}-*.zip" }
for (outputFile in localCppBundles) {
from(zipTree(outputFile)) {
duplicatesStrategy 'exclude'
}
}
} else {
for (outputFile in configurations.nativeBundle) {
from(zipTree(outputFile)) {
duplicatesStrategy 'exclude'
}
}
}
}