-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
71 lines (66 loc) · 2.31 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
59
60
61
62
63
64
65
66
67
68
69
70
71
plugins {
id 'java'
}
group = 'com.griddynamics'
version = '0.0.1'
sourceCompatibility = JavaVersion.VERSION_17
repositories {
mavenCentral()
}
ext {
springBootVersion = "2.5.6"
junitJupiterVersion = "5.7.2"
swaggerVersion = "1.6.3"
springDocVersion = "1.5.12"
javaxVersion = "2.2"
lombokVersion = "1.18.20"
postgresqlVersion = "42.3.1"
h2databaseVersion = "2.1.210"
liquibaseVersion = "4.6.2"
hibernateVersion = "5.6.5.Final"
mapstructVersion = "1.4.2.Final"
mockitoVersion = "4.2.0"
testcontainersVersion = "1.16.3"
}
dependencies {
implementation group: 'com.vladmihalcea', name: 'hibernate-types-52', version: '2.14.0'
implementation(
"org.springframework.boot:spring-boot-starter-web:$springBootVersion",
"org.springframework.boot:spring-boot-starter-data-jpa:$springBootVersion",
"org.springframework.boot:spring-boot-starter-validation:$springBootVersion",
"org.springdoc:springdoc-openapi-ui:$springDocVersion",
"io.swagger:swagger-annotations:$swaggerVersion",
"com.h2database:h2:$h2databaseVersion",
"org.postgresql:postgresql:$postgresqlVersion",
"org.hibernate:hibernate-core:$hibernateVersion",
)
compileOnly(
"javax.persistence:javax.persistence-api:$javaxVersion",
"org.projectlombok:lombok:$lombokVersion",
"org.mapstruct:mapstruct:$mapstructVersion"
)
runtimeOnly(
"org.liquibase:liquibase-core:$liquibaseVersion"
)
annotationProcessor(
"org.projectlombok:lombok:$lombokVersion",
"org.mapstruct:mapstruct-processor:$mapstructVersion"
)
testImplementation(
"org.springframework.boot:spring-boot-starter-test:$springBootVersion",
"org.junit.jupiter:junit-jupiter-api:$junitJupiterVersion",
"org.mockito:mockito-core:$mockitoVersion",
"org.mockito:mockito-inline:$mockitoVersion",
"org.testcontainers:junit-jupiter:$testcontainersVersion",
"org.testcontainers:postgresql:$testcontainersVersion"
)
testRuntimeOnly(
"org.junit.jupiter:junit-jupiter-engine:$junitJupiterVersion"
)
}
test {
testLogging {
events "PASSED", "SKIPPED", "FAILED"
}
useJUnitPlatform()
}