-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
111 lines (91 loc) · 4.06 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
buildscript {
ext {
kotlinVersion = '2.0.21'
springBootVersion = '3.3.5'
springKafkaVersion = '3.2.4'
cxfVersion = '3.4.2'
jacksonModuleKotlinVersion = '2.18.1'
tokenSupportVersion = '4.1.4'
}
}
plugins {
id 'org.springframework.boot' version "${springBootVersion}"
id "io.spring.dependency-management" version "1.1.6"
id "org.openrepose.gradle.plugins.jaxb" version "2.5.0"
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"
group = 'no.nav.eessi.pensjon'
dependencies {
// Spring-boot BOM-fil spesifiserer versjoner for Spring Boot-avhengigheter
implementation(platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}"))
implementation("org.springframework.boot:spring-boot-starter-aop")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-actuator")
// Spring Framework BOM-fil overstyrer så vi får siste patch-versjon av Spring Framework
implementation(platform("org.springframework:spring-framework-bom:6.1.14"))
implementation("org.springframework.retry:spring-retry:2.0.10")
implementation "org.springframework.kafka:spring-kafka:$springKafkaVersion"
implementation("org.yaml:snakeyaml:2.3") // Pga https://security.snyk.io/package/maven/org.yaml:snakeyaml
implementation("org.apache.httpcomponents.client5:httpclient5:5.3.1")
implementation("com.fasterxml.jackson.core:jackson-core:${jacksonModuleKotlinVersion}")
implementation 'org.jetbrains.kotlin:kotlin-reflect'
// Micrometer
implementation("io.micrometer:micrometer-registry-prometheus:1.13.6")
// Eessi pensjon biblioteker
implementation("no.nav.eessi.pensjon:ep-eux:2.3.37")
implementation("no.nav.eessi.pensjon:ep-metrics:2.0.89")
implementation("no.nav.eessi.pensjon:ep-logging:2.1.87")
implementation("no.nav.eessi.pensjon:ep-kodeverk:4.0.183"){
exclude module: 'ep-eux'
exclude module: 'ep-metrics'
exclude module: 'ep-logging'
exclude module: 'ep-eux'
}
implementation("no.nav.eessi.pensjon:ep-personoppslag:13.2.9"){
exclude module: 'ep-eux'
exclude module: 'ep-metrics'
exclude module: 'ep-logging'
exclude module: 'ep-eux'
}
implementation("no.nav.eessi.pensjon:ep-routing:2.0.171"){
exclude module: 'ep-eux'
exclude module: 'ep-metrics'
exclude module: 'ep-logging'
exclude module: 'ep-personoppslag'
}
// Logging
implementation("net.logstash.logback:logstash-logback-encoder:8.0")
configurations { all*.exclude group: 'commons-logging', module: 'commons-logging' }
implementation("org.slf4j:jcl-over-slf4j:2.0.16")
//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")
implementation ("no.nav.common:token-client:3.2024.09.16_11.09-578823a87a2f")
//GCP
implementation("com.google.cloud:google-cloud-storage:2.44.1")
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude module: 'junit'
exclude module: "mockito-core"
exclude module: "junit-vintage-engine"
}
testImplementation "org.springframework.kafka:spring-kafka-test:$springKafkaVersion"
testImplementation("no.nav.security:token-validation-spring-test:${tokenSupportVersion}")
testImplementation("org.junit.jupiter:junit-jupiter:5.11.2")
//mock - test
testImplementation("org.mock-server:mockserver-netty:5.15.0") {
exclude module: 'junit'
}
testImplementation("io.mockk:mockk:1.13.13")
testImplementation("com.ninja-squad:springmockk:4.0.2")
// Architecture tests
testImplementation 'com.tngtech.archunit:archunit:1.3.0'
//testcontainers
testImplementation("org.testcontainers:junit-jupiter:1.20.3")
testImplementation "org.testcontainers:testcontainers:1.20.3"
}