forked from line/armeria
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
30 lines (27 loc) · 998 Bytes
/
Copy pathbuild.gradle
File metadata and controls
30 lines (27 loc) · 998 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
dependencies {
api project(':xds')
api libs.jackson.dataformat.yaml
api libs.protobuf.java.util
api(libs.controlplane.server) {
exclude group: 'io.envoyproxy.controlplane', module: 'api'
}
api(libs.controlplane.cache) {
exclude group: 'io.envoyproxy.controlplane', module: 'api'
}
testImplementation project(':athenz')
testImplementation project(':xds-athenz')
testImplementation libs.athenz.zms.client
testImplementation libs.testcontainers.junit.jupiter
}
// Copy the Athenz Docker resources from ':athenz'.
task copyTestResources(type: Copy) {
from("${rootProject.projectDir}/athenz/src/test") {
include 'resources/**'
include '**/AthenzDocker.java'
include '**/AthenzExtension.java'
}
into "${project.ext.genSrcDir}/test"
}
tasks.compileTestJava.dependsOn(tasks.copyTestResources)
tasks.processTestResources.dependsOn(tasks.copyTestResources)
tasks.sourcesJar.dependsOn(tasks.copyTestResources)