-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
55 lines (46 loc) · 1.6 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
plugins {
id 'org.springframework.boot' version '2.7.9'
id "com.github.ben-manes.versions" version "0.46.0"
}
apply plugin: 'java'
apply plugin: 'io.spring.dependency-management'
//apply plugin: 'jacoco'
group = "com.haw.srs"
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = JavaVersion.VERSION_11
}
repositories {
mavenCentral()
maven { url "https://repo.spring.io/release" }
}
dependencies {
// compiletime dependencies
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-mail'
implementation 'javax.xml.bind:jaxb-api:2.4.0-b180830.0359'
compileOnly 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.26'
// runtime dependencies
runtimeOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'mysql:mysql-connector-java:8.0.32'
runtimeOnly 'com.h2database:h2:2.1.214'
// dependencies for test-execution
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.rest-assured:rest-assured:4.5.1'
testImplementation 'io.rest-assured:json-path:4.5.1'
testImplementation 'io.rest-assured:xml-path:4.5.1'
testImplementation 'org.hamcrest:java-hamcrest:2.0.0.0'
}
test {
useJUnitPlatform {
includeEngines 'junit-jupiter'
}
failFast = true
testLogging {
events "passed", "skipped", "failed"
exceptionFormat "full"
}
}