mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 04:58:50 +00:00
5d5bd015c0
This change adds a transport client that comes preconfigured with the same plugins as the PreBuiltTransportClient and also adds x-pack. Closes elastic/elasticsearch#2970 Original commit: elastic/x-pack-elasticsearch@bb60534bd4
31 lines
1.1 KiB
Groovy
31 lines
1.1 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'
|
|
|
|
dependencies {
|
|
compile "org.elasticsearch.plugin:x-pack-client:${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
|
|
}
|