@@ -394,13 +394,15 @@ protected void doApply(Plugin.Engine.Source source, Plugin.Engine.Target target)
394
394
* Dispatches a Byte Buddy instrumentation Gradle task.
395
395
*
396
396
* @param logger The logger to use.
397
+ * @param rootLoader The class loader that is used for searching types and applying plugins.
397
398
* @param transformations The transformations to apply.
398
399
* @param discovery The discovery for plugins to use.
399
400
* @param rootLocator The root class file locator.
400
- * @param artifacts The artifacts to include
401
+ * @param artifacts The artifacts to include.
402
+ * @param discoverySet The source set to discover plugins from or {@code null} if no source set is used.
401
403
* @param entryPoint The entry point to use.
402
404
* @param classFileVersion The class file version to use.
403
- * @param rootLocationResolver A argument resolver for the root location of this build.
405
+ * @param rootLocationResolver An argument resolver for the root location of this build.
404
406
* @param suffix The suffix to use for rebased methods or an empty string for using a random suffix.
405
407
* @param threads The number of threads to use while instrumenting.
406
408
* @param extendedParsing {@code true} if extended parsing should be used.
@@ -417,7 +419,7 @@ public static void apply(Logger logger,
417
419
Discovery discovery ,
418
420
ClassFileLocator rootLocator ,
419
421
Iterable <File > artifacts ,
420
- @ MaybeNull Iterable <File > discoveries ,
422
+ @ MaybeNull Iterable <File > discoverySet ,
421
423
EntryPoint entryPoint ,
422
424
ClassFileVersion classFileVersion ,
423
425
Plugin .Factory .UsingReflection .ArgumentResolver rootLocationResolver ,
@@ -430,7 +432,7 @@ public static void apply(Logger logger,
430
432
Plugin .Engine .Source source ,
431
433
Plugin .Engine .Target target ) throws IOException {
432
434
Plugin .Engine .Summary summary ;
433
- ClassLoader classLoader = ByteBuddySkippingUrlClassLoader .of (rootLoader , discoveries );
435
+ ClassLoader classLoader = ByteBuddySkippingUrlClassLoader .of (rootLoader , discoverySet );
434
436
try {
435
437
if (discovery .isDiscover (transformations )) {
436
438
Set <String > undiscoverable = new HashSet <String >();
0 commit comments