-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
112 lines (85 loc) · 3.77 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
112
buildscript {
ext {
kotlinVersion = '2.0.21'
springBootVersion = '3.3.5'
springKafkaVersion = '3.2.4'
jacksonModuleKotlinVersion = '2.18.1'
tokenSupportVersion = '4.1.4'
imageioVersion = '3.12.0'
}
}
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'
configurations {
xsd
}
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.yaml:snakeyaml:2.3") // Pga https://security.snyk.io/package/maven/org.yaml:snakeyaml
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-actuator")
// Spring Framework BOM-fil kan overstyre så vi får siste patch-versjon av Spring Framework
implementation(platform("org.springframework:spring-framework-bom:6.1.14"))
implementation("org.apache.httpcomponents.client5:httpclient5:5.3.1")
implementation("org.springframework.retry:spring-retry:2.0.10")
implementation "com.fasterxml.jackson.core:jackson-core:${jacksonModuleKotlinVersion}"
implementation 'org.jetbrains.kotlin:kotlin-reflect'
implementation "org.springframework.kafka:spring-kafka:$springKafkaVersion"
//GCP
implementation("com.google.cloud:google-cloud-storage:2.44.1")
// Eessi pensjon biblioteker
implementation("no.nav.eessi.pensjon:ep-eux:2.3.40")
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-personoppslag:13.2.9"){
exclude module: 'ep-eux'
exclude module: 'ep-metrics'
exclude module: 'ep-logging'
}
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'
}
// PDF box
implementation("org.apache.pdfbox:pdfbox-tools:3.0.3")
implementation("com.twelvemonkeys.imageio:imageio-jpeg:${imageioVersion}")
implementation("com.twelvemonkeys.imageio:imageio-tiff:${imageioVersion}")
// Logging
implementation("net.logstash.logback:logstash-logback-encoder:8.0")
testImplementation project(path: ':')
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")
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("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'
}