Migrated from dependency-check/DependencyCheck#6364 by @sergeykad
I found the example for configuring DB driver dependency for Maven, but is there a similar explanation for Gradle?
I suppose I can add it to the buildscript block, but I think this approach is discouraged in the last Gradle versions. Maybe there is a separate configuration available that allows to specify it like the following?
dependencies {
dependencyCheck 'org.postgresql:postgresql:42.7.1'
}
The main issue with using buildscript block AFAIK is that dependencies can leak into the project being built or other plugins.
Migrated from dependency-check/DependencyCheck#6364 by @sergeykad