forked from digitalinnovationone/reactive-bingo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
89 lines (76 loc) · 2.56 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
plugins {
id 'org.springframework.boot' version '2.7.5'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
id 'java'
id 'jacoco'
id 'com.adarshr.test-logger' version '3.2.0'
}
group = 'com.reactive-bingo'
version = '0.0.1-SNAPSHOT'
java{
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
ext{
mapstructVersion = '1.5.3.Final'
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb-reactive'
implementation 'org.springframework.boot:spring-boot-starter-mail'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation "org.mapstruct:mapstruct:$mapstructVersion"
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'commons-collections:commons-collections:3.2.2'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.thymeleaf.extras:thymeleaf-extras-java8time'
implementation 'org.springdoc:springdoc-openapi-webflux-ui:1.6.12'
implementation 'org.yaml:snakeyaml:1.33'
implementation 'commons-io:commons-io:2.11.0'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok-mapstruct-binding:0.2.0'
annotationProcessor "org.mapstruct:mapstruct-processor:$mapstructVersion"
testImplementation 'org.mongodb:mongodb-driver-sync'
testImplementation 'org.mongodb:bson'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'de.flapdoodle.embed:de.flapdoodle.embed.mongo'
testImplementation 'io.projectreactor:reactor-test'
testImplementation 'com.github.javafaker:javafaker:1.0.2'
testImplementation 'org.projectlombok:lombok'
testImplementation 'org.mockito:mockito-core:4.8.0'
testImplementation 'com.icegreen:greenmail:1.6.11'
testAnnotationProcessor 'org.projectlombok:lombok'
}
tasks.named('test') {
jvmArgs '-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=*:5005'
useJUnitPlatform()
testlogger{
theme 'mocha-parallel'
showExceptions true
slowThreshold 400
showSummary true
showPassed true
showSkipped true
showFailed true
showStandardStreams true
showSkippedStandardStreams true
showPassedStandardStreams true
showFailedStandardStreams true
}
finalizedBy jacocoTestReport
}
bootRun{
jvmArgs '-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=*:5005'
}
jar{
enabled = false
}