-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (44 loc) · 1.49 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
plugins {
id 'java'
id 'org.springframework.boot' version '2.7.3'
id 'io.spring.dependency-management' version '1.1.0'
}
group = 'com.devsu'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = "16"
repositories {
mavenCentral()
}
ext {
swaggerVersion = "2.9.2"
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.jetbrains:annotations:24.0.0'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
//lombook
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
//validations
implementation 'org.springframework.boot:spring-boot-starter-validation:2.7.2'
//bean utils
implementation 'commons-beanutils:commons-beanutils:1.9.4'
//logs
implementation 'org.apache.logging.log4j:log4j-api:2.20.0'
implementation 'org.apache.logging.log4j:log4j-core:2.20.0'
//database
runtimeOnly 'org.postgresql:postgresql'
//mapping models
implementation "org.mapstruct:mapstruct:1.4.2.Final"
annotationProcessor "org.mapstruct:mapstruct-processor:1.4.2.Final"
//swagger
implementation "io.springfox:springfox-swagger2:${swaggerVersion}"
implementation "io.springfox:springfox-swagger-ui:${swaggerVersion}"
//junit
implementation 'junit:junit:4.13.2'
}
tasks.named('test') {
useJUnitPlatform()
}
targetCompatibility = JavaVersion.VERSION_16