-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
52 lines (42 loc) · 1.27 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
plugins {
id 'scala'
id 'org.springframework.boot' version '3.2.4'
id 'io.gatling.gradle' version '3.10.5.1'
}
apply plugin: 'java'
apply plugin: 'io.spring.dependency-management'
group = "com.haw.srs"
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = JavaVersion.VERSION_17
}
repositories {
mavenCentral()
maven { url "https://repo.spring.io/release" }
}
dependencies {
// compiletime dependencies
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
compileOnly 'org.projectlombok:lombok:1.18.32'
annotationProcessor 'org.projectlombok:lombok:1.18.32'
// runtime dependencies
runtimeOnly 'org.springframework.boot:spring-boot-devtools'
// dependencies for test-execution
testImplementation 'io.gatling.highcharts:gatling-charts-highcharts:3.10.5'
}
test {
useJUnitPlatform {
includeEngines 'junit-jupiter'
}
failFast = true
testLogging {
events "passed", "skipped", "failed"
exceptionFormat "full"
}
}
tasks.withType(ScalaCompile) {
scalaCompileOptions.forkOptions.with {
jvmArgs = ['-Xss100m'] // Scala compiler may require a larger stack size when compiling Gatling simulations
}
}