Skip to content

Commit

Permalink
Oppdatere versjon katalog og shadow jar
Browse files Browse the repository at this point in the history
  • Loading branch information
gtcno committed Sep 18, 2024
1 parent 75088e2 commit c814b56
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
plugins {
id("common")
application
id("com.github.johnrengelman.shadow") version "8.1.1"
alias(libs.plugins.shadow.jar)
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencyResolutionManagement {
}
versionCatalogs {
create("libs") {
from("no.nav.dagpenger:dp-version-catalog:20240704.83.dca2f1")
from("no.nav.dagpenger:dp-version-catalog:20240918.87.a55420")
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ internal class ApplicationBuilder(
private val inntektClient =
InntektHttpClient(
Config.inntektApiUrl,
tokenProvider = { Config.oauth2Client.clientCredentials(Config.dpInntektApiScope).accessToken },
tokenProvider = {
Config.oauth2Client.clientCredentials(Config.dpInntektApiScope).accessToken
?: throw RuntimeException("Fant ikke token")
},
)

init {
Expand Down

0 comments on commit c814b56

Please sign in to comment.