开发者

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 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜