Last active
January 4, 2016 20:19
-
-
Save erikthered/8673054 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eclipse { | |
classpath.file { | |
whenMerged { classpath -> | |
classpath.entries.removeAll { it.path.endsWith('pom') } | |
} | |
} | |
wtp.component.file { | |
whenMerged { wtpComponent -> | |
def toIgnore = wtpComponent.wbModuleEntries.findAll { entry -> | |
(entry instanceof org.gradle.plugins.ide.eclipse.model.WbDependentModule) && entry.handle.endsWith('pom') | |
} | |
wtpComponent.wbModuleEntries.removeAll(toIgnore) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment