mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
hamcrest has some improvements in newer versions, like FileMatchers that make assertions regarding file exists cleaner. This commit upgrades to the latest version of hamcrest so we can start using new and improved matchers.
42 lines
1.2 KiB
Groovy
42 lines
1.2 KiB
Groovy
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:${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
|
|
replaceSignatureFiles 'jdk-signatures', 'es-all-signatures'
|
|
}
|
|
|
|
testingConventions {
|
|
naming.clear()
|
|
naming {
|
|
Tests {
|
|
baseClass 'com.carrotsearch.randomizedtesting.RandomizedTest'
|
|
}
|
|
}
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
nebula(MavenPublication) {
|
|
artifactId = archivesBaseName
|
|
}
|
|
}
|
|
}
|