@Incubating @OutputDirectories Map<String, File> getEnabledDirectoryReportDestinations();
@Override public Class<? extends Annotation> getAnnotationType() { return OutputDirectories.class; }
/** * Directories with the class files to check. * Defaults to current sourseSet's output directory (Gradle 2/3) or output directories (Gradle 4.0+). */ @OutputDirectories // no @InputDirectories, we use separate getter for a list of all input files public FileCollection getClassesDirs() { return classesDirs; }
@OutputDirectories public Set<File> getEnabledDirectoryReportDestinations() { return CollectionUtils.collect(CollectionUtils.filter(getEnabled(), IS_DIRECTORY_OUTPUT_TYPE), toFile); }