-
Notifications
You must be signed in to change notification settings - Fork 946
Expand file tree
/
Copy pathbuild.gradle
More file actions
47 lines (43 loc) · 1.69 KB
/
Copy pathbuild.gradle
File metadata and controls
47 lines (43 loc) · 1.69 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
plugins {
id 'java'
}
dependencies {
testImplementation 'org.conductoross:conductor-client:5.0.3'
testImplementation 'org.conductoross:java-sdk:5.0.3'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
testImplementation 'org.junit.jupiter:junit-jupiter-params'
testImplementation 'org.awaitility:awaitility:4.3.0'
testImplementation 'org.apache.logging.log4j:log4j-slf4j2-impl'
testImplementation 'org.projectlombok:lombok:1.18.46'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.46'
testImplementation 'org.apache.commons:commons-lang3:3.20.0'
testImplementation 'org.apache.commons:commons-compress:1.28.0'
testImplementation 'com.squareup.okhttp3:okhttp:4.12.0'
}
test {
useJUnitPlatform()
maxParallelForks = 4
minHeapSize = '512m'
maxHeapSize = '2g'
testLogging {
events = ['SKIPPED', 'FAILED']
exceptionFormat = 'short'
showStandardStreams = true
}
// Forward SERVER_ROOT_URI if explicitly set via -D
if (System.getProperty('SERVER_ROOT_URI')) {
systemProperty 'SERVER_ROOT_URI', System.getProperty('SERVER_ROOT_URI')
}
// Skip during normal ./gradlew build
// Enable with: RUN_E2E=true ./gradlew :e2e:test
// or: ./gradlew :e2e:test -PrunE2E
onlyIf { System.getenv('RUN_E2E') == 'true' || project.hasProperty('runE2E') }
// Support excluding specific tests:
// ./gradlew :e2e:test -PrunE2E -PexcludeTests="**/HTTPTaskTests*"
if (project.hasProperty('excludeTests')) {
project.property('excludeTests').toString().split(',').each { pattern ->
exclude pattern.trim()
}
}
}