return testFiles;
}
+ /**
+ * Should not be used - only for old plugins
+ */
+ @Deprecated
+ void addSourceDir(File dir) {
+ sourceDirs.add(dir);
+ index();
+ }
+
+ /**
+ * Should not be used - only for old plugins
+ */
+ @Deprecated
+ void addTestDir(File dir) {
+ testDirs.add(dir);
+ index();
+ }
+
@Override
public Charset sourceCharset() {
final Charset charset;
}
public ProjectFileSystem addSourceDir(File dir) {
- throw new UnsupportedOperationException("Unsupported since 4.0");
+ target.addSourceDir(dir);
+ return this;
}
public List<File> getTestDirs() {
}
public ProjectFileSystem addTestDir(File dir) {
- throw new UnsupportedOperationException("Unsupported since 4.0");
+ target.addTestDir(dir);
+ return this;
}
public File getReportOutputDir() {