forked from lavcraft/spring-react-or-not-react
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
109 lines (94 loc) · 3.28 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
97
98
99
100
101
102
103
104
105
106
107
108
109
plugins {
id 'org.springframework.boot' version '2.5.5' apply false
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
apply plugin: 'base'
allprojects {
group 'io.rsocket.examples'
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' }
}
subprojects {
apply plugin: 'java'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url 'https://oss.jfrog.org/artifactory/libs-snapshot' }
maven { url 'https://oss.jfrog.org/artifactory/oss-snapshot-local' }
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' }
}
dependencies {
[
enforcedPlatform('org.springframework.boot:spring-boot-dependencies:2.5.5'),
platform('org.junit:junit-bom:5.4.0'),
platform('io.projectreactor:reactor-bom:2020.0.11'),
platform('io.github.resilience4j:resilience4j-bom:1.7.0'),
].each {
implementation it
annotationProcessor it
testAnnotationProcessor it
}
constraints {
['org.projectlombok:lombok:1.18.20'].each {
compileOnly it
annotationProcessor it
testAnnotationProcessor it
}
['com.github.javafaker:javafaker:1.0.2',
'io.dropwizard.metrics:metrics-core:+',
'org.beryx:text-io:3.4.1',
'org.beryx:text-io-web:3.4.1',
'org.fusesource.jansi:jansi:2.3.1',
'org.codehaus.groovy:groovy-all:3.0.7',
'com.google.guava:guava:27.1-jre',
].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-rsocket',
'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
}
}
}