forked from elastic/elasticsearch
/
build.gradle
24 lines (19 loc) · 851 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import org.elasticsearch.gradle.Architecture
apply plugin: 'elasticsearch.internal-java-rest-test'
apply plugin: 'elasticsearch.test.fixtures'
dependencies {
javaRestTestImplementation(testArtifact(project(xpackModule('core'))))
javaRestTestImplementation(testArtifact(project(xpackModule('security'))))
}
testFixtures.useFixture ":x-pack:test:idp-fixture", "oidc-provider"
testFixtures.useFixture ":x-pack:test:idp-fixture", "elasticsearch-node"
tasks.named("processJavaRestTestResources").configure {
from project(':x-pack:plugin:core')
.files(
'src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode_ec.crt'
)
}
tasks.named("javaRestTest").configure {
// OpenID Connect fixture does not support aarm64
onlyIf { Architecture.current() == Architecture.X64 }
}