Collection<File> (@NotNull CompileContext context) { GradleModuleResourceConfiguration configuration = getModuleResourcesConfiguration(context.getProjectDescriptor().dataManager.getDataPaths()); final Set<File> result = FileCollectionFactory.createCanonicalFileSet(); final File moduleOutput = getModuleOutputDir(); for (ResourceRootConfiguration resConfig : getRootConfigurations(configuration)) { final File output = getOutputDir(moduleOutput, resConfig, configuration.outputDirectory); if (output != null) { result.add(output); } } return result; }