2016-08-31 11:48:26 -04:00
|
|
|
apply plugin: 'elasticsearch.build'
|
|
|
|
apply plugin: 'nebula.maven-base-publish'
|
|
|
|
|
|
|
|
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 {
|
2019-11-14 06:01:23 -05: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 project(xpackModule('core'))
|
|
|
|
compile project(':client:transport')
|
|
|
|
testCompile "com.carrotsearch.randomizedtesting:randomizedtesting-runner:${versions.randomizedrunner}"
|
|
|
|
testCompile "junit:junit:${versions.junit}"
|
|
|
|
testCompile "org.hamcrest:hamcrest:${versions.hamcrest}"
|
2016-08-31 11:48:26 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencyLicenses.enabled = false
|
|
|
|
|
|
|
|
forbiddenApisTest {
|
2019-11-14 06:01:23 -05:00
|
|
|
// 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
|
|
|
|
replaceSignatureFiles 'jdk-signatures', 'es-all-signatures'
|
2016-08-31 11:48:26 -04:00
|
|
|
}
|
|
|
|
|
2019-01-08 06:39:03 -05:00
|
|
|
testingConventions {
|
2019-11-14 06:01:23 -05:00
|
|
|
naming.clear()
|
|
|
|
naming {
|
|
|
|
Tests {
|
|
|
|
baseClass 'com.carrotsearch.randomizedtesting.RandomizedTest'
|
2019-01-08 06:39:03 -05:00
|
|
|
}
|
2019-11-14 06:01:23 -05:00
|
|
|
}
|
2019-01-08 06:39:03 -05:00
|
|
|
}
|
|
|
|
|
2016-10-05 10:46:24 -04:00
|
|
|
publishing {
|
2019-11-14 06:01:23 -05:00
|
|
|
publications {
|
|
|
|
nebula(MavenPublication) {
|
|
|
|
artifactId = archivesBaseName
|
2016-10-05 10:46:24 -04:00
|
|
|
}
|
2019-11-14 06:01:23 -05:00
|
|
|
}
|
2016-10-05 10:46:24 -04:00
|
|
|
}
|