plugins { id 'eclipse' } subprojects { subProject -> apply plugin: 'eclipse' }