Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ static File getProjectFolderFromClasspath(URL rootFolder)
// URI decodes the path so that e.g. " " works correctly
// Path.of makes windows paths work correctly
Path path = Path.of(rootFolder.toURI());
if (path.endsWith(Path.of("target", "classes"))) {
if (path.endsWith(Path.of("target", "classes"))
|| path.endsWith(Path.of("target", "test-classes"))) {
return path.getParent().getParent().toFile();
}

Expand Down
Loading