-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
51 lines (44 loc) · 1.03 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
plugins {
id 'org.owasp.dependencycheck' version '9.0.5'
id 'scala'
id 'java-library'
id 'io.gatling.gradle' version '3.9.5'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
tasks.withType(JavaExec) {
// Configure the size of the JVM if necessary
jvmArgs = ['-Xms1024m', '-Xmx2048m']
/* Use the following args to build a report when a test was terminated
args = [
"--reports-only", "fact-20201109092032896",
'--results-folder', file('build/reports/gatling').absolutePath,
]
*/
}
tasks.withType(Copy).all{
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
repositories {
mavenCentral()
}
gatling {
gatlingVersion '3.9.5'
scalaVersion '2.13.10'
simulations = {
include "uk/gov/hmcts/reform/LandA/performance/simulations/mainSimulation.scala"
}
}
sourceSets {
gatling {
scala {
srcDir 'src/gatling/simulations'
}
resources {
srcDir 'src/gatling/resources'
}
}
}