-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (44 loc) · 2.11 KB
/
build.gradle
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
buildscript {
ext {
kotlinVersion = '2.1.10'
springBootVersion = '3.4.2'
tokenSupportVersion = '5.0.11'
}
}
plugins {
id "org.jetbrains.kotlin.jvm" version "$kotlinVersion"
id "org.jetbrains.kotlin.plugin.spring" version "$kotlinVersion"
id "org.jetbrains.kotlin.plugin.allopen" version "$kotlinVersion"
}
apply from: "buildSrc/ep-module.gradle"
apply from: "buildSrc/ep-library.gradle"
group = "no.nav.eessi.pensjon"
dependencies {
// Logging
implementation('net.logstash.logback:logstash-logback-encoder:8.0') {
exclude module: "commons-logging"
}
implementation("no.nav.eessi.pensjon:ep-metrics:2.0.102")
implementation("no.nav.eessi.pensjon:ep-logging:2.2.7")
implementation("no.nav.eessi.pensjon:ep-eux:2.4.28")
implementation("io.micrometer:micrometer-registry-prometheus:1.14.3")
// Spring-boot BOM-fil spesifiserer versjoner for Spring Boot-avhengigheter
implementation(platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}"))
implementation("org.springframework.retry:spring-retry:2.0.11")
implementation("org.springframework.boot:spring-boot-starter-web") {
exclude module : "tomcat-embed-core"
}
// Spring Framework BOM-fil overstyrer så vi får siste patch-versjon av Spring Framework
implementation(platform("org.springframework:spring-framework-bom:6.2.2"))
implementation("org.springframework:spring-web")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.18.1")
//Auth
implementation("no.nav.security:token-client-spring:${tokenSupportVersion}")
implementation("no.nav.security:token-validation-spring:${tokenSupportVersion}")
implementation("no.nav.security:token-validation-jaxrs:${tokenSupportVersion}")
implementation("no.nav.security:token-validation-test-support:2.0.5")
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
testImplementation("org.springframework:spring-test")
testImplementation("io.mockk:mockk:1.13.16")
configurations { all*.exclude group: 'commons-logging', module: 'commons-logging' }
}