File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
src/main/kotlin/no/nav/dagpenger/inntekt Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import com.github.jengelman.gradle.plugins.shadow.transformers.Log4j2PluginsCach
5
5
plugins {
6
6
id(" common" )
7
7
application
8
- id( " com.github.johnrengelman. shadow" ) version " 8.1.1 "
8
+ alias(libs.plugins. shadow.jar)
9
9
id(" com.expediagroup.graphql" ) version " 6.4.0"
10
10
id(" de.undercouch.download" ) version " 5.6.0"
11
11
}
Original file line number Diff line number Diff line change @@ -119,7 +119,9 @@ internal object Config {
119
119
120
120
private fun azureAdTokenSupplier (scope : String ): () -> String =
121
121
{
122
- runBlocking { azureAdClient.clientCredentials(scope).accessToken }
122
+ runBlocking {
123
+ azureAdClient.clientCredentials(scope).accessToken ? : throw RuntimeException (" Failed to get token" )
124
+ }
123
125
}
124
126
}
125
127
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ dependencyResolutionManagement {
19
19
}
20
20
versionCatalogs {
21
21
create(" libs" ) {
22
- from(" no.nav.dagpenger:dp-version-catalog:20240419.74.d850ed " )
22
+ from(" no.nav.dagpenger:dp-version-catalog:20240918.87.a55420 " )
23
23
}
24
24
}
25
25
}
You can’t perform that action at this time.
0 commit comments