-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.gradle
96 lines (83 loc) · 2.94 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
90
91
92
93
94
95
96
plugins {
id 'org.springframework.boot' version '2.1.3.RELEASE' apply false
}
apply plugin: 'base'
allprojects {
group 'ru.spring.reactive.in.practice'
}
subprojects {
apply plugin: 'java'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
repositories {
jcenter()
maven { url 'https://jitpack.io' }
}
dependencies {
[enforcedPlatform('org.springframework.boot:spring-boot-dependencies:2.1.3.RELEASE'),
platform('org.junit:junit-bom:5.4.0'),
].each {
implementation it
annotationProcessor it
testAnnotationProcessor it
}
constraints {
['org.projectlombok:lombok:1.18.2'].each {
compileOnly it
annotationProcessor it
testAnnotationProcessor it
}
['com.github.javafaker:javafaker:0.16',
'io.dropwizard.metrics:metrics-core:+',
'org.beryx:text-io:3.3.0',
'org.beryx:text-io-web:3.3.0',
'org.fusesource.jansi:jansi:1.17.1',
'org.codehaus.groovy:groovy-all:2.5.6',
'com.google.guava:guava:27.1-jre',
'com.github.CollaborationInEncapsulation.spring-boot-rsocket:spring-boot-starter-rsocket:0.0.1.RELEASE',
'io.rsocket:rsocket-transport-netty:0.11.21',
'io.rsocket:rsocket-core:0.11.21',
].each {
implementation it
}
['org.mockito:mockito-core:2.22.0',
'org.mockito:mockito-junit-jupiter:2.22.0',
'io.github.benas:random-beans:3.7.0',
].each {
testImplementation it
}
}
//declare dependencies
['org.projectlombok:lombok',
'org.springframework.boot:spring-boot-configuration-processor',
].each {
compileOnly it
testCompileOnly it
annotationProcessor it
testAnnotationProcessor it
}
implementation 'org.springframework.boot:spring-boot-starter-webflux',
'org.springframework.boot:spring-boot-starter-actuator',
'io.rsocket:rsocket-transport-netty',
'com.google.guava:guava',
'io.dropwizard.metrics:metrics-core',
'org.beryx:text-io',
'org.beryx:text-io-web',
'org.fusesource.jansi:jansi',
'io.projectreactor.addons:reactor-extra'
testImplementation 'org.mockito:mockito-core',
'org.mockito:mockito-junit-jupiter',
'org.junit.jupiter:junit-jupiter-engine',
'org.springframework.boot:spring-boot-starter-test'
}
test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
events 'passed', 'skipped', 'failed'
}
reports {
html.enabled = true
}
}
}