-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
62 lines (48 loc) · 1.65 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
51
52
53
54
55
56
57
58
59
60
61
62
plugins {
// The following line allows to load io.gatling.gradle plugin and directly apply it
id 'io.gatling.gradle' version '3.7.2'
id 'scala'
id 'application'
}
gatling {
jvmArgs = ['-server', '-Xms512M', '-Xmx512M']
// WARNING: options below only work when logback config file isn't provided
logLevel = 'INFO' // logback root level // DEBUG TRACE
logHttp = 'NONE' // set to 'ALL' for all HTTP traffic in TRACE, 'FAILURES' for failed HTTP traffic in DEBUG
}
dependencies {
gatling 'org.scala-lang:scala-library:2.12.8'
gatling 'com.ibm.mq:com.ibm.mq.allclient:9.1.4.0'
gatling 'javax.jms:javax.jms-api:2.0.1'
gatling 'com.sun.messaging.mq:fscontext:4.4.2'
gatling 'net.liftweb:lift-json_2.13:3.5.0'
testImplementation 'org.junit.jupiter:junit-jupiter:5.7.2'
implementation 'com.google.guava:guava:30.1.1-jre'
implementation 'com.ibm.mq:com.ibm.mq.allclient:9.1.4.0'
implementation 'com.googlecode.json-simple:json-simple:1.1.1'
implementation 'org.apache.commons:commons-collections4:4.4'
implementation 'commons-cli:commons-cli:1.5.0'
implementation 'javax.json:javax.json-api:1.1.4'
implementation 'org.json:json:20211205'
testImplementation 'com.github.stefanbirkner:system-rules:1.19.0'
}
application {
// Define the main class for the application.
mainClass = 'main.App'
}
sourceSets {
main {
java {
srcDirs= ["src/main/java"]
}
resources {
srcDirs= ["src/gatling/resources"]
}
}
}
test {
useJUnitPlatform()
}
run {
systemProperty "resource", System.getProperty("resource")
}