Skip to content

Commit

Permalink
Add all existing project source directory in application model
Browse files Browse the repository at this point in the history
  • Loading branch information
glefloch committed Mar 30, 2022
1 parent a728d8c commit e74ba9f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,12 @@ public static ResolvedDependency getProjectArtifact(Project project, LaunchMode
private static void collectDestinationDirs(Collection<SourceDir> sources, final PathList.Builder paths) {
for (SourceDir src : sources) {
if (!Files.exists(src.getOutputDir())) {
return;
continue;
}

final Path path = src.getOutputDir();
if (paths.contains(path)) {
return;
continue;
}
paths.add(path);
}
Expand Down

0 comments on commit e74ba9f

Please sign in to comment.