Skip to content

Commit

Permalink
Update owasp + gradlew
Browse files Browse the repository at this point in the history
  • Loading branch information
dotasek committed Dec 11, 2024
1 parent 4848133 commit ff8ae47
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/owasp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- run: |
- env:
NVD_API_KEY:
${{ secrets.NVD_API_KEY }}
run: |
./gradlew dependencyCheckAnalyze
- name: Upload SARIF file
Expand Down
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
`maven-publish`
signing
id("com.github.johnrengelman.shadow") version "7.0.0"
id("org.owasp.dependencycheck") version "8.4.0"
id("org.owasp.dependencycheck") version "11.1.1"
}

group = "org.hl7.fhir"
Expand Down Expand Up @@ -313,4 +313,7 @@ tasks.javadoc {

dependencyCheck {
formats = arrayListOf("SARIF", "HTML")
nvd {
apiKey=System.getenv("NVD_API_KEY")
}
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit ff8ae47

Please sign in to comment.