mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-25 10:32:00 +01:00
applied part of PR for issue #121 - classpath issue with some invocations of the ant client
Former-commit-id: 7c0a0531c753e2ccfb0bdb15a1b179697b9f8905
This commit is contained in:
@@ -866,7 +866,7 @@ public class DependencyCheckTask extends Task {
|
|||||||
|
|
||||||
Engine engine = null;
|
Engine engine = null;
|
||||||
try {
|
try {
|
||||||
engine = new Engine();
|
engine = new Engine(DependencyCheckTask.class.getClassLoader());
|
||||||
|
|
||||||
for (Resource resource : path) {
|
for (Resource resource : path) {
|
||||||
final FileProvider provider = resource.as(FileProvider.class);
|
final FileProvider provider = resource.as(FileProvider.class);
|
||||||
|
|||||||
Reference in New Issue
Block a user