This repository was archived by the owner on Mar 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
68 lines (51 loc) · 1.51 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
buildscript {
ext {
springBootVersion = "3.2.1"
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
subprojects {
group = 'fc.be'
apply {
plugin 'java'
plugin 'java-library'
plugin 'org.springframework.boot'
plugin 'io.spring.dependency-management'
}
sourceCompatibility = '21'
repositories {
mavenCentral()
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:+"
}
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-validation'
// lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// test
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
// yml 설정파일 가져오도록 도와줌
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
// jackson LocalDateTime mapping 용 플러그인
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:+'
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'
}
test {
useJUnitPlatform()
}
}