mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
* Remove usage of deprecated testCompile configuration * Replace testCompile usage by testImplementation * Make testImplementation non transitive by default (as we did for testCompile) * Update CONTRIBUTING about using testImplementation for test dependencies * Fail on testCompile configuration usage
24 lines
773 B
Groovy
24 lines
773 B
Groovy
apply plugin: 'elasticsearch.standalone-test'
|
|
|
|
dependencies {
|
|
testImplementation project(xpackModule('security'))
|
|
testImplementation project(path: xpackModule('security'), configuration: 'testArtifacts')
|
|
testImplementation 'com.google.jimfs:jimfs:1.1'
|
|
testRuntimeOnly 'com.google.guava:guava:16.0.1'
|
|
}
|
|
|
|
// add test resources from security, so certificate tool tests can use example certs
|
|
processTestResources {
|
|
from(project(xpackModule('security')).sourceSets.test.resources.srcDirs)
|
|
}
|
|
|
|
// we have to repeate these patterns because the security test resources are effectively in the src of this project
|
|
forbiddenPatterns {
|
|
exclude '**/*.key'
|
|
exclude '**/*.p12'
|
|
exclude '**/*.der'
|
|
}
|
|
|
|
// these are just tests, no need to audit
|
|
thirdPartyAudit.enabled = false
|