Browse Source

Remove recursive project dependencies from Eclipse classpath

pull/31519/head
Sam Brannen 1 year ago
parent
commit
fc77172d67
  1. 7
      gradle/ide.gradle

7
gradle/ide.gradle

@ -60,6 +60,13 @@ eclipse.classpath.file.whenMerged { @@ -60,6 +60,13 @@ eclipse.classpath.file.whenMerged {
}
}
// Remove recursive project dependencies
eclipse.classpath.file.whenMerged {
entries.findAll { it instanceof ProjectDependency && it.path == ('/' + project.name) }.each {
entries.remove(it)
}
}
// Include project specific settings
task eclipseSettings(type: Copy) {
from rootProject.files(

Loading…
Cancel
Save