-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (46 loc) · 1.52 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.1'
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
//Spring Boot Actuator
implementation 'org.springframework.boot:spring-boot-starter-actuator'
//Spring Boot DevTools
implementation 'io.micrometer:micrometer-core:1.12.2'
implementation 'io.micrometer:micrometer-registry-prometheus:1.12.2'
runtimeOnly 'io.micrometer:micrometer-registry-prometheus'
//Spring Boot Web
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
//Hibernate
implementation 'org.mapstruct:mapstruct-processor:1.5.5.Final'
//Lombok
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'org.postgresql:postgresql'
annotationProcessor 'org.projectlombok:lombok'
//Spring Boot Test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.springframework:spring-test:6.1.3'
// Swagger 3
implementation 'io.springfox:springfox-swagger2:3.0.0'
implementation 'io.springfox:springfox-swagger-ui:3.0.0'
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0'
}
tasks.named('test') {
useJUnitPlatform()
}