build.gradle 750 B

123456789101112131415161718192021
  1. apply plugin: 'elasticsearch.standalone-test'
  2. dependencies {
  3. testCompile project(xpackModule('security'))
  4. testCompile project(path: xpackModule('security'), configuration: 'testArtifacts')
  5. testCompile 'com.google.jimfs:jimfs:1.1'
  6. testCompile 'com.google.guava:guava:16.0.1'
  7. }
  8. // add test resources from security, so certificate tool tests can use example certs
  9. sourceSets.test.resources.srcDirs(project(xpackModule('security')).sourceSets.test.resources.srcDirs)
  10. // we have to repeate these patterns because the security test resources are effectively in the src of this project
  11. forbiddenPatterns {
  12. exclude '**/*.key'
  13. exclude '**/*.p12'
  14. exclude '**/*.der'
  15. }
  16. // these are just tests, no need to audit
  17. thirdPartyAudit.enabled = false