-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
71 lines (56 loc) · 1.35 KB
/
build.gradle
File metadata and controls
71 lines (56 loc) · 1.35 KB
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
plugins {
id 'org.springframework.boot' version '2.2.11.RELEASE'
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
id 'java'
}
group = 'com.rizkimhd.learning.spring'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
configurations {
compileOnly {
extendsFrom annotationProcessor
}
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
}
repositories {
mavenCentral()
jcenter()
mavenLocal()
}
wrapper {
distributionType = Wrapper.DistributionType.BIN
}
ext {
lombokVersion = '1.18.16'
apacheIoVersion = '2.8.0'
apacheLangVersion = '3.11'
springDocOpenApiVersion = '1.5.0'
}
dependencies {
annotationProcessor (
"org.projectlombok:lombok:$lombokVersion"
)
compileOnly (
"org.projectlombok:lombok:$lombokVersion"
)
developmentOnly (
'org.springframework.boot:spring-boot-devtools'
)
implementation (
"commons-io:commons-io:$apacheIoVersion",
"org.apache.commons:commons-lang3:$apacheLangVersion",
"org.springdoc:springdoc-openapi-ui:$springDocOpenApiVersion",
'org.springframework.boot:spring-boot-starter',
'org.springframework.boot:spring-boot-starter-web'
)
testImplementation ('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
}
test {
useJUnitPlatform()
}