-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
46 lines (38 loc) · 1.23 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
plugins {
id 'org.springframework.boot' version '2.3.2.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
}
group = 'com.course'
version = '2.0.0'
sourceCompatibility = '14'
repositories {
mavenCentral()
}
configurations {
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
}
ext {
set('apacheCommonsLang3Version', "3.10")
set('springdocVersion', "1.4.3")
set('micrometerRegistryVersion', "1.5.2")
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation('org.springframework.boot:spring-boot-starter-actuator')
implementation "org.apache.commons:commons-lang3:${apacheCommonsLang3Version}"
implementation "org.springdoc:springdoc-openapi-webflux-ui:${springdocVersion}"
implementation "io.micrometer:micrometer-registry-elastic:${micrometerRegistryVersion}"
implementation 'org.springframework.boot:spring-boot-starter-data-elasticsearch'
// developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
testImplementation 'io.projectreactor:reactor-test'
}
test {
useJUnitPlatform()
}