mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 13:38:49 +00:00
The api jar was added for xpack extensions. However, extensions have been removed in favor of using SPI, and the individual xpack jars like core and security are published to enable this. This commit removes the api jar, and switches the transport client to use the core jar (which the api jar was just a rename of). Original commit: elastic/x-pack-elasticsearch@58e069e66c
42 lines
1.4 KiB
Groovy
42 lines
1.4 KiB
Groovy
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'
|
|
archivesBaseName = 'x-pack-transport'
|
|
|
|
dependencies {
|
|
// 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-core:${version}"
|
|
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
|
|
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
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
nebula(MavenPublication) {
|
|
artifactId = archivesBaseName
|
|
}
|
|
}
|
|
}
|