2016-08-31 11:48:26 -04:00
|
|
|
import org.elasticsearch.gradle.precommit.PrecommitTasks
|
|
|
|
|
|
|
|
apply plugin: 'elasticsearch.build'
|
|
|
|
apply plugin: 'nebula.maven-base-publish'
|
|
|
|
apply plugin: 'nebula.maven-scm'
|
|
|
|
|
|
|
|
group = 'org.elasticsearch.client'
|
2016-10-03 15:37:45 -04:00
|
|
|
archivesBaseName = 'x-pack-transport'
|
2016-08-31 11:48:26 -04:00
|
|
|
|
|
|
|
dependencies {
|
2016-09-19 14:42:27 -04:00
|
|
|
// this "api" dependency looks weird, but it is correct, as it contains
|
|
|
|
// all of x-pack for now, and transport client will be going away in the future.
|
|
|
|
compile "org.elasticsearch.plugin:x-pack-api:${version}"
|
2016-08-31 11:48:26 -04:00
|
|
|
compile "org.elasticsearch.client:transport:${version}"
|
2017-11-15 11:49:00 -05:00
|
|
|
compile "org.elasticsearch:x-pack-client-api-objects:${version}"
|
2016-08-31 11:48:26 -04:00
|
|
|
testCompile "com.carrotsearch.randomizedtesting:randomizedtesting-runner:${versions.randomizedrunner}"
|
|
|
|
testCompile "junit:junit:${versions.junit}"
|
|
|
|
testCompile "org.hamcrest:hamcrest-all:${versions.hamcrest}"
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencyLicenses.enabled = false
|
|
|
|
|
2017-11-15 11:49:00 -05:00
|
|
|
dependencyLicenses {
|
|
|
|
ignoreSha 'x-pack-client-api-objects'
|
|
|
|
}
|
|
|
|
|
2016-08-31 11:48:26 -04:00
|
|
|
forbiddenApisTest {
|
|
|
|
// we don't use the core test-framework, no lucene classes present so we don't want the es-test-signatures to
|
|
|
|
// be pulled in
|
|
|
|
signaturesURLs = [PrecommitTasks.getResource('/forbidden/jdk-signatures.txt'),
|
|
|
|
PrecommitTasks.getResource('/forbidden/es-all-signatures.txt')]
|
|
|
|
}
|
|
|
|
|
|
|
|
namingConventions {
|
|
|
|
testClass = 'com.carrotsearch.randomizedtesting.RandomizedTest'
|
|
|
|
//we don't have integration tests
|
|
|
|
skipIntegTestInDisguise = true
|
|
|
|
}
|
2016-10-05 10:46:24 -04:00
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
nebula(MavenPublication) {
|
2016-10-05 11:08:13 -04:00
|
|
|
artifactId = archivesBaseName
|
2016-10-05 10:46:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|