You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then the eclipse plugin will add extra "lib" entries for the main source set to the .classpath file. This is rather silly, because that source set is already contained via "src" entries.
So until this is fixed, I included a "workaround" in the testsets-plugin that removes these superfluous entries. It is equivalent to:
eclipse {
classpath.file.whenMerged { classpath->// Get all output directories for other source sets' classes and resources.def outputPaths = eclipseClasspath.project.sourceSets*.output
.collect { [ it.classesDir, it.resourcesDir ]}
.flatten { file->Paths.get(file asString) } asSet
classpath.entries.removeAll { ClasspathEntryentry->
entry.kind =='lib'&&Paths.get(entry.path) in outputPaths
}
}
}
These 2 entries should not be added to the .classpath file of Eclipse:
The text was updated successfully, but these errors were encountered: