mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-29 13:22:12 +02:00
applied part of PR for issue #121 - classpath issue with some invocations of the ant client
Former-commit-id: 129a5fd9cd55c8a0abf393d0ae8405ddec412d51
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