diff --git a/grails-plugin-testing/build.gradle b/grails-plugin-testing/build.gradle index da2af69cfbd..73bf4432420 100644 --- a/grails-plugin-testing/build.gradle +++ b/grails-plugin-testing/build.gradle @@ -32,8 +32,8 @@ eclipse { classpath { file { whenMerged { classpath -> - // greclipse doesn't support ASTs and tests in same project - classpath.entries.removeAll { entry -> entry.kind == 'src' && entry.path == "src/test/groovy" } + // greclipse doesn't support ASTs and tests in same project, exclude those tests + classpath.entries.find { entry -> entry.kind == 'src' && entry.path == "src/test/groovy" }?.excludes=["grails/test/mixin/MetaClassCleanupSpec.groovy"] } } }