-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
127 lines (98 loc) · 4.6 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
buildscript {
ext {
kotlinVersion = '2.1.10'
springBootVersion = '3.4.2'
springKafkaVersion = '3.3.2'
springfoxVersion = '3.0.0'
tokenSupportVersion = '5.0.11'
}
}
plugins {
id "org.springframework.boot" version "$springBootVersion"
id "io.spring.dependency-management" version "1.1.7"
id "org.openrepose.gradle.plugins.jaxb" version "2.5.0"
id "com.vanniktech.dependency.graph.generator" version "0.8.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-web")
implementation("org.springframework.boot:spring-boot-starter-aop")
implementation("org.springframework.boot:spring-boot-starter-cache")
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.2.2"))
implementation("org.yaml:snakeyaml:2.3") // Pga https://security.snyk.io/package/maven/org.yaml:snakeyaml
implementation("com.fasterxml.jackson.core:jackson-core:2.18.1")
implementation 'org.jetbrains.kotlin:kotlin-reflect'
// 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")
// auditlogger syslog la stå i 1.0.0 / 0.9.30
implementation("com.papertrailapp:logback-syslog4j:1.0.0")
implementation("org.syslog4j:syslog4j:0.9.46")
//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.common:token-client:3.2024.11.26_16.35-432a29107830")
implementation("org.springframework.kafka:spring-kafka:${springKafkaVersion}")
//GCP
implementation("com.google.cloud:google-cloud-storage:2.48.1")
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("no.nav.eessi.pensjon:ep-kodeverk:4.1.33") {
exclude module: 'ep-eux'
exclude module: 'ep-logging'
exclude module: 'ep-metrics'
}
implementation("no.nav.eessi.pensjon:ep-personoppslag:13.2.38") {
exclude module: 'ep-eux'
exclude module: 'ep-logging'
exclude module: 'ep-metrics'
}
implementation("no.nav.eessi.pensjon:ep-pensjonsinformasjon:3.0.184") {
exclude module: 'ep-eux'
exclude module: 'ep-logging'
exclude module: 'ep-metrics'
}
implementation 'javax.xml.bind:jaxb-api:2.3.1'
implementation('org.glassfish.jaxb:jaxb-runtime:2.3.3')
implementation("no.nav.tjenestespesifikasjoner:pensjonsinformasjon-v1-tjenestespesifikasjon:2641.575768a")
testImplementation("no.nav.security:token-validation-spring-test:${tokenSupportVersion}")
// Forenklere mocking av beans, benyttes som mockito mockbean
testImplementation("com.ninja-squad:springmockk:4.0.2")
testImplementation('org.pac4j:spring-webmvc-pac4j:8.0.0')
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
//mock - test
testImplementation("io.mockk:mockk:1.13.16")
testImplementation("org.skyscreamer:jsonassert:1.5.3")
//Kafka
testImplementation("org.springframework.kafka:spring-kafka-test:${springKafkaVersion}")
testImplementation("com.tngtech.archunit:archunit:1.3.0")
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude module: 'junit'
exclude module: "mockito-core"
exclude module: 'junit-vintage-engine'
}
testImplementation("org.mock-server:mockserver-netty:5.15.0") {
exclude module: 'junit'
}
}
test {
systemProperty 'docker.host', 'unix:///var/run/docker.sock'
}
repositories {
maven {
url 'https://repo.clojars.org'
name 'Clojars'
}
}