apply plugin: 'idea' subprojects { apply plugin: 'idea' apply plugin: 'eclipse' eclipse { classpath { file { // work around for eclipse plugin bug whenMerged { classpath -> classpath.entries.removeAll { it.path.endsWith('pom') } } } } } }