Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,17 @@ To build the war:

This will compile the jar and run the basic unit tests.

To run the OWASP dependency vulnerability scan:

./gradlew dependencyCheckAggregate

For faster scans, add a free [NVD API key](https://nvd.nist.gov/developers/request-an-api-key) to your
user gradle properties file (`~/.gradle/gradle.properties`):

nvdApiKey=<your-key>

The report is written to `build/reports/dependency-check-report.html`.

## Development stack

See the docker-compose.README.md for instructions using the docker-compose environment
Expand Down
9 changes: 9 additions & 0 deletions buildSrc/src/main/groovy/cda.deps-conventions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,13 @@ repositories {

configurations.all {
exclude group: "org.python", module: "jython-standalone"

resolutionStrategy {
// javalin 4.6.8 pulls in the vulnerable kotlin-stdlib 1.5.32
// Force a patched version; javalin can't be bumped past 4.x while we target Java 11.
force "org.jetbrains.kotlin:kotlin-stdlib:1.9.25"
force "org.jetbrains.kotlin:kotlin-stdlib-common:1.9.25"
force "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.25"
force "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.25"
}
}
2 changes: 1 addition & 1 deletion buildSrc/src/main/groovy/cda.java-conventions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test {
}

checkstyle {
toolVersion = '9.3'
toolVersion = '10.26.1'
}

dependencyCheck {
Expand Down
Loading