{"action":"closed","issue":{"url":"https://api.github.com/repos/grails/grails-core/issues/9748","repository_url":"https://api.github.com/repos/grails/grails-core","labels_url":"https://api.github.com/repos/grails/grails-core/issues/9748/labels{/name}","comments_url":"https://api.github.com/repos/grails/grails-core/issues/9748/comments","events_url":"https://api.github.com/repos/grails/grails-core/issues/9748/events","html_url":"https://github.com/grails/grails-core/issues/9748","id":137642699,"number":9748,"title":"can't exclude domain classes when packaging a binary plugin","user":{"login":"donalmurtagh","id":11269693,"avatar_url":"https://avatars.githubusercontent.com/u/11269693?v=3","gravatar_id":"","url":"https://api.github.com/users/donalmurtagh","html_url":"https://github.com/donalmurtagh","followers_url":"https://api.github.com/users/donalmurtagh/followers","following_url":"https://api.github.com/users/donalmurtagh/following{/other_user}","gists_url":"https://api.github.com/users/donalmurtagh/gists{/gist_id}","starred_url":"https://api.github.com/users/donalmurtagh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donalmurtagh/subscriptions","organizations_url":"https://api.github.com/users/donalmurtagh/orgs","repos_url":"https://api.github.com/users/donalmurtagh/repos","events_url":"https://api.github.com/users/donalmurtagh/events{/privacy}","received_events_url":"https://api.github.com/users/donalmurtagh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/grails/grails-core/labels/Won't%20Fix","name":"Won't Fix","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-01T17:53:50Z","updated_at":"2016-03-17T08:06:02Z","closed_at":"2016-03-17T08:06:01Z","body":"I'm packaging a Grails 2.5.3 plugin as a binary via `grails package-plugin --binary`. I want to exclude all domain classes (regardless of which package they're in) so I added the following to the plugin descriptor\r\n```\r\ndef pluginExcludes = ['grails-app/domain/**']\r\n```\r\nBut this does not exclude them, the following also does not work\r\n```\r\ndef pluginExcludes = ['grails-app/domain/*']\r\n```\r\n"}}