Skip to content

Commit

Permalink
Add runtime classpath as input to ThirdPartyAuditTask
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira committed Jul 15, 2024
1 parent e5d0b40 commit 0904853
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ public Set<String> getMissingClassExcludes() {
@SkipWhenEmpty
public abstract ConfigurableFileCollection getJarsToScan();

@Classpath
public FileCollection getClasspath() {
return classpath;
}

@TaskAction
public void runThirdPartyAudit() throws IOException {
Set<File> jars = getJarsToScan().getFiles();
Expand Down

0 comments on commit 0904853

Please sign in to comment.