|
@@ -193,6 +193,11 @@ public abstract class ThirdPartyAuditTask extends DefaultTask {
|
|
|
@SkipWhenEmpty
|
|
@SkipWhenEmpty
|
|
|
public abstract ConfigurableFileCollection getJarsToScan();
|
|
public abstract ConfigurableFileCollection getJarsToScan();
|
|
|
|
|
|
|
|
|
|
+ @Classpath
|
|
|
|
|
+ public FileCollection getClasspath() {
|
|
|
|
|
+ return classpath;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@TaskAction
|
|
@TaskAction
|
|
|
public void runThirdPartyAudit() throws IOException {
|
|
public void runThirdPartyAudit() throws IOException {
|
|
|
Set<File> jars = getJarsToScan().getFiles();
|
|
Set<File> jars = getJarsToScan().getFiles();
|