2016-08-31 11:48:26 -04:00
|
|
|
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
|
2018-07-24 11:53:04 -04:00
|
|
|
// all of x-pack for now, and transport client will be going away in the future.
|
2018-08-21 20:03:28 -04:00
|
|
|
compile "org.elasticsearch.plugin:x-pack-core:${version}"
|
2016-08-31 11:48:26 -04:00
|
|
|
compile "org.elasticsearch.client:transport:${version}"
|
|
|
|
testCompile "com.carrotsearch.randomizedtesting:randomizedtesting-runner:${versions.randomizedrunner}"
|
|
|
|
testCompile "junit:junit:${versions.junit}"
|
|
|
|
testCompile "org.hamcrest:hamcrest-all:${versions.hamcrest}"
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencyLicenses.enabled = false
|
|
|
|
|
|
|
|
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
|
2018-08-22 02:05:22 -04:00
|
|
|
replaceSignatureFiles 'jdk-signatures', 'es-all-signatures'
|
2016-08-31 11:48:26 -04:00
|
|
|
}
|
|
|
|
|
2019-01-08 06:39:03 -05:00
|
|
|
testingConventions {
|
|
|
|
naming.clear()
|
|
|
|
naming {
|
|
|
|
Tests {
|
|
|
|
baseClass 'com.carrotsearch.randomizedtesting.RandomizedTest'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|