开发者

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

开发者 https://www.devze.com 2023-03-08 21:38 出处:网络
I have a plugin that i have created, and in that plugin i have a T开发者_C百科estDomain domain class which is just used in an integration test. How can i exlude TestDomain from being exported to grail

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


Add it to the pluginExcludes list:

def pluginExcludes = [
   'grails-app/domain/com/foo/TestDomain'
]
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号