-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
52 lines (46 loc) · 1.94 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
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
group = "no.nav.pensjon"
version = "1"
val jacksonVersion = "2.17.2"
plugins {
kotlin("jvm") version "2.0.0"
kotlin("plugin.spring") version "2.0.0"
id("org.springframework.boot") version "3.3.2"
id("io.spring.dependency-management") version "1.1.6"
}
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("reflect"))
implementation("com.fasterxml.jackson.datatype", "jackson-datatype-jsr310", jacksonVersion)
implementation("com.fasterxml.jackson.module", "jackson-module-kotlin", jacksonVersion)
implementation("io.micrometer", "micrometer-registry-prometheus", "1.13.2")
implementation("net.logstash.logback", "logstash-logback-encoder", "8.0")
implementation("no.nav.common", "token-client", "2.2023.01.10_13.49-81ddc732df3a")
implementation("org.apache.poi", "poi-ooxml", "5.3.0")
implementation("org.springframework.boot", "spring-boot-starter-web")
implementation("org.springframework.boot", "spring-boot-starter-webflux")
implementation("org.springframework.boot", "spring-boot-starter-actuator")
implementation("org.springframework.boot", "spring-boot-starter-validation")
implementation("org.springframework.boot", "spring-boot-starter-oauth2-client")
implementation("org.springframework.boot", "spring-boot-starter-thymeleaf")
testImplementation(kotlin("test-junit5"))
testRuntimeOnly("org.junit.platform", "junit-platform-launcher")
testImplementation("org.wiremock", "wiremock-jetty12", "3.9.1")
testImplementation("com.ninja-squad", "springmockk", "4.0.2")
testImplementation("org.springframework.boot", "spring-boot-starter-test") {
exclude(module = "mockito-core")
}
testImplementation("org.springframework.security", "spring-security-test")
}
tasks {
kotlin {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_21)
}
}
test {
useJUnitPlatform()
}
}