-
Notifications
You must be signed in to change notification settings - Fork 149
/
build.gradle
51 lines (41 loc) · 1.65 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
buildscript {
ext {
springBootVersion = '3.1.2'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'war'
sourceCompatibility=17
repositories {
mavenCentral()
}
configurations {
providedRuntime
}
dependencies {
implementation('org.springframework.boot:spring-boot-starter-jersey')
implementation('org.springframework.boot:spring-boot-starter-web')
implementation('org.springframework.boot:spring-boot-starter-web-services')
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
implementation group: 'com.h2database', name: 'h2', version: '2.2.224'
providedRuntime('org.springframework.boot:spring-boot-starter-tomcat')
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation group: 'org.springframework.restdocs', name: 'spring-restdocs-mockmvc', version: '3.0.1'
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'
// Lombok (required order: first Lombok, then Mapstruct)
implementation "org.projectlombok:lombok:1.18.24"
implementation "org.projectlombok:lombok-mapstruct-binding:0.2.0"
annotationProcessor "org.projectlombok:lombok:1.18.24"
// MapStruct (required order: first Lombok, then Mapstruct)
implementation "org.mapstruct:mapstruct:1.5.3.Final"
annotationProcessor "org.mapstruct:mapstruct-processor:1.5.3.Final"
testImplementation "junit:junit:4.13.1"
}