-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
76 lines (63 loc) · 2.73 KB
/
build.gradle.kts
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
72
73
74
75
76
plugins {
java
id("org.springframework.boot") version "3.3.3"
id("io.spring.dependency-management") version "1.1.6"
id("io.freefair.lombok") version "8.10"
}
group = "org.acme"
version = "1.0.0"
java {
sourceCompatibility = JavaVersion.VERSION_21
}
configurations {
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
}
}
repositories {
mavenCentral()
}
val iban4JVersion by extra { "3.2.9-RELEASE" }
val i18nVersion by extra { "1.29" }
val mapStructVersion by extra { "1.6.0" }
val passWayVersion by extra { "1.6.4" }
val problemVersion by extra { "0.29.1" }
val problemJacksonVersion by extra { "0.27.1" }
val jjwtVersion by extra { "0.12.6" }
val springdocVersion by extra { "2.6.0" }
dependencies {
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-security")
implementation("org.springframework.boot:spring-boot-starter-validation")
implementation("org.apache.commons:commons-lang3")
implementation("org.iban4j:iban4j:$iban4JVersion")
implementation("com.neovisionaries:nv-i18n:$i18nVersion")
implementation("org.mapstruct:mapstruct:$mapStructVersion")
implementation("org.passay:passay:$passWayVersion")
implementation("org.zalando:problem-spring-web:$problemVersion")
implementation("org.zalando:jackson-datatype-problem:$problemJacksonVersion")
implementation("io.jsonwebtoken:jjwt-api:$jjwtVersion")
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:$springdocVersion")
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
annotationProcessor("org.mapstruct:mapstruct-processor:$mapStructVersion")
runtimeOnly("org.liquibase:liquibase-core")
runtimeOnly("com.mysql:mysql-connector-j")
runtimeOnly("io.jsonwebtoken:jjwt-impl:$jjwtVersion")
runtimeOnly("io.jsonwebtoken:jjwt-jackson:$jjwtVersion")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.boot:spring-boot-testcontainers")
testImplementation("org.springframework.security:spring-security-test")
testImplementation("org.testcontainers:junit-jupiter")
testImplementation("org.testcontainers:mysql")
testAnnotationProcessor("org.mapstruct:mapstruct-processor:$mapStructVersion")
}
tasks.withType<Test> {
useJUnitPlatform()
}
tasks.withType<JavaCompile>() {
options.compilerArgs.add("-Amapstruct.defaultComponentModel=spring")
options.compilerArgs.add("-Amapstruct.unmappedTargetPolicy=IGNORE")
}
springBoot.buildInfo()