How can I exclude the Domain class from export to the Grails plugin?

I have a plugin that I created, and in this plugin I have a TestDomain domain class that is just used in an integration test. How can I exclude TestDomain from export to grails projects using my plugin?

+3
source share
1 answer

Add it to the list pluginExcludes:

def pluginExcludes = [
   'grails-app/domain/com/foo/TestDomain'
]
+4
source

All Articles