Skip to content

Commit

Permalink
dependencyCheck.nvd.apiKey
Browse files Browse the repository at this point in the history
  • Loading branch information
vkanellopoulos committed Sep 27, 2024
1 parent acc7f06 commit e9a9e11
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions transfer-manager/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@ dependencies {

dependencyCheck {
formats = listOf("XML", "HTML")
System.getenv("NVD_API_KEY")?.let {
nvd.apiKey = it
}
nvd.apiKey = System.getenv("NVD_API_KEY") ?: properties["nvdApiKey"]?.toString() ?: ""
}

// Dokka generation
Expand Down

0 comments on commit e9a9e11

Please sign in to comment.