Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do i exlude Domain class from getting exported in a grails plugin?

I have a plugin that i have created, and in that plugin i have a TestDomain domain class which is just used in an integration test. How can i exlude TestDomain from being exported to grails projects using my plugin?

like image 829
netbrain Avatar asked Dec 28 '25 21:12

netbrain


1 Answers

Add it to the pluginExcludes list:

def pluginExcludes = [
   'grails-app/domain/com/foo/TestDomain'
]
like image 63
Burt Beckwith Avatar answered Dec 30 '25 15:12

Burt Beckwith



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!