-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
67 lines (52 loc) · 2.13 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
plugins {
java
groovy
id("org.springframework.boot") version "3.1.4"
id("io.spring.dependency-management") version "1.1.3"
}
group = "com.lessa"
version = "0.0.1-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_17
}
configurations {
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
}
}
repositories {
mavenCentral()
}
object DependencyVersions {
const val spock = "2.4-M1-groovy-4.0"
const val testcontainers = "1.18.3"
const val jackson = "2.14.0"
const val springdoc = "2.2.0"
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-cache")
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-data-redis")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-validation")
runtimeOnly("org.postgresql:postgresql")
implementation("org.flywaydb:flyway-core")
compileOnly("org.projectlombok:lombok")
annotationProcessor("org.projectlombok:lombok")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.testcontainers:testcontainers:${DependencyVersions.testcontainers}")
testImplementation("org.testcontainers:spock:${DependencyVersions.testcontainers}")
testImplementation("org.testcontainers:kafka:${DependencyVersions.testcontainers}")
testImplementation("org.testcontainers:jdbc:${DependencyVersions.testcontainers}")
testImplementation("org.testcontainers:postgresql:${DependencyVersions.testcontainers}")
implementation(project.dependencies.platform("org.apache.groovy:groovy-bom:4.0.5"))
implementation("org.apache.groovy:groovy")
testImplementation("org.spockframework:spock-core:${DependencyVersions.spock}")
testImplementation("org.spockframework:spock-spring:${DependencyVersions.spock}")
implementation("com.fasterxml.jackson.core:jackson-databind")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:${DependencyVersions.springdoc}")
}
tasks.withType<Test> {
useJUnitPlatform()
}