-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
47 lines (41 loc) · 1.39 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
plugins {
kotlin("jvm") version "1.6.21"
kotlin("plugin.spring") version "1.6.21"
id("org.springframework.boot") version "2.7.0"
}
group = "ru.mplain"
version = "DEV-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_17
dependencies {
implementation(platform("org.springframework.boot:spring-boot-dependencies:2.7.0"))
implementation(platform("org.testcontainers:testcontainers-bom:1.17.2"))
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
implementation("org.springframework.boot:spring-boot-starter-data-mongodb-reactive")
implementation("org.springframework.boot:spring-boot-starter-mustache")
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("org.springframework.kafka:spring-kafka")
implementation("io.projectreactor.kafka:reactor-kafka")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.testcontainers:kafka")
testImplementation("org.testcontainers:mongodb")
}
repositories {
mavenCentral()
}
tasks {
compileKotlin {
kotlinOptions {
jvmTarget = "17"
freeCompilerArgs = listOf("-Xjsr305=strict")
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "17"
freeCompilerArgs = listOf("-Xjsr305=strict")
}
}
test {
useJUnitPlatform()
}
}