-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
65 lines (55 loc) · 1.89 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
plugins {
id("org.jetbrains.kotlin.jvm") version "1.9.24"
id("org.jetbrains.kotlin.plugin.spring") version "1.9.24"
id("org.springframework.boot") version "3.2.4"
id("com.google.cloud.tools.jib") version "3.4.2"
}
group = "de.solugo"
repositories {
mavenCentral()
}
dependencies {
implementation(platform("org.springframework.boot:spring-boot-dependencies:3.2.4"))
implementation(platform("org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.8.0"))
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("org.jetbrains.kotlin:kotlin-reflect")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactor")
implementation("org.bitbucket.b_c:jose4j:0.9.6")
testImplementation(platform("org.junit:junit-bom:5.10.1"))
testImplementation(platform("org.testcontainers:testcontainers-bom:1.19.3"))
testImplementation(platform("io.kotest:kotest-bom:5.8.0"))
testImplementation(platform("io.ktor:ktor-bom:2.3.7"))
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("io.ktor:ktor-client-java")
testImplementation("io.ktor:ktor-client-content-negotiation")
testImplementation("io.ktor:ktor-serialization-jackson")
testImplementation("io.kotest:kotest-assertions-core")
testImplementation("io.kotest:kotest-assertions-json")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
}
kotlin {
jvmToolchain(21)
}
springBoot {
buildInfo()
}
jib {
from {
image = "openjdk:23-slim-bullseye"
}
container {
mainClass = "OAuthMock"
}
to {
image = "oauth-mock"
}
}
tasks.withType<Test> {
useJUnitPlatform()
testLogging {
events("failed", "passed")
showCauses = true
}
}