24 lines
693 B
Groovy
24 lines
693 B
Groovy
|
|
esplugin {
|
|
description 'The Google Compute Engine (GCE) Discovery plugin allows to use GCE API for the unicast discovery mechanism.'
|
|
classname 'org.elasticsearch.plugin.discovery.gce.GceDiscoveryPlugin'
|
|
}
|
|
|
|
dependencies {
|
|
compile('com.google.apis:google-api-services-compute:v1-rev71-1.20.0') {
|
|
exclude group: 'com.google.guava', module: 'guava-jdk5'
|
|
}
|
|
compile "org.apache.httpcomponents:httpclient:${versions.httpclient}"
|
|
}
|
|
|
|
dependencyLicenses {
|
|
mapping from: /google-.*/, to: 'google'
|
|
}
|
|
|
|
compileJava.options.compilerArgs << '-Xlint:-rawtypes,-unchecked'
|
|
|
|
test {
|
|
// this is needed for insecure plugins, remove if possible!
|
|
systemProperty 'tests.artifact', project.name
|
|
}
|