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?
Add it to the list pluginExcludes:
pluginExcludes
def pluginExcludes = [ 'grails-app/domain/com/foo/TestDomain' ]