-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
38 lines (27 loc) · 871 Bytes
/
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
plugins {
id 'org.springframework.boot' version '2.3.1.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE' apply false
id 'java'
}
group 'com.cwenao'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
configure(allprojects){ project ->
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-starter:2.3.1.RELEASE"
}
dependencies {
dependency group: 'org.projectlombok', name: 'lombok', version: '1.18.12'
dependency "org.springframework.boot:spring-boot-starter:2.3.1.RELEASE"
dependency "org.springframework.boot:spring-boot-web:2.3.1.RELEASE"
}
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}