-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
59 lines (50 loc) · 1.98 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
plugins {
id 'org.springframework.boot' version '2.6.7'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-test'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// https://mvnrepository.com/artifact/org.projectlombok/lombok
implementation 'org.projectlombok:lombok:1.18.24'
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-jpa
implementation 'org.springframework.boot:spring-boot-starter-data-jpa:2.7.0'
implementation 'mysql:mysql-connector-java:8.0.29'
// https://mvnrepository.com/artifact/org.testcontainers/junit-jupiter
testImplementation 'org.testcontainers:junit-jupiter:1.17.2'
testImplementation "org.testcontainers:mysql:1.17.2"
// https://mvnrepository.com/artifact/de.codecentric/chaos-monkey-spring-boot
implementation 'de.codecentric:chaos-monkey-spring-boot:2.6.1'
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-actuator
implementation 'org.springframework.boot:spring-boot-starter-actuator:2.7.0'
// https://mvnrepository.com/artifact/com.tngtech.archunit/archunit-junit5-engine
testImplementation 'com.tngtech.archunit:archunit-junit5-engine:0.23.1'
}
/*
tasks.named('test') {
useJUnitPlatform()
}
*/
tasks.named('test') {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
}
useJUnitPlatform {
includeTags 'fast'
}
}
// `gradle integrationTest`: integration tag가 붙은 테스트만 수행
task integrationTest(type: Test, group: 'verification') {
useJUnitPlatform {
includeTags 'slow'
}
}