setClassPathResources(classPathKey, paths);
}
private static List<PathResourceImplementation> getBuildOutputDirsAsPathResources(JavaSourceSet sourceSet) {
JavaOutputDirs outputDirs = sourceSet.getOutputDirs();
PathResourceImplementation classesDir = toPathResource(outputDirs.getClassesDir());
PathResourceImplementation resourcesDir = toPathResource(outputDirs.getClassesDir());
List<PathResourceImplementation> result = new ArrayList<>(2);
if (classesDir != null) result.add(classesDir);
if (resourcesDir != null) result.add(resourcesDir);
return result;