{"action":"created","issue":{"url":"https://api.github.com/repos/johnrengelman/shadow/issues/202","repository_url":"https://api.github.com/repos/johnrengelman/shadow","labels_url":"https://api.github.com/repos/johnrengelman/shadow/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/johnrengelman/shadow/issues/202/comments","events_url":"https://api.github.com/repos/johnrengelman/shadow/issues/202/events","html_url":"https://github.com/johnrengelman/shadow/issues/202","id":147187040,"number":202,"title":"Custom ShadowJar task in subprojects does not regard inclusion of any depenencies","user":{"login":"liach","id":7806504,"avatar_url":"https://avatars.githubusercontent.com/u/7806504?v=3","gravatar_id":"","url":"https://api.github.com/users/liach","html_url":"https://github.com/liach","followers_url":"https://api.github.com/users/liach/followers","following_url":"https://api.github.com/users/liach/following{/other_user}","gists_url":"https://api.github.com/users/liach/gists{/gist_id}","starred_url":"https://api.github.com/users/liach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liach/subscriptions","organizations_url":"https://api.github.com/users/liach/orgs","repos_url":"https://api.github.com/users/liach/repos","events_url":"https://api.github.com/users/liach/events{/privacy}","received_events_url":"https://api.github.com/users/liach/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-10T03:02:08Z","updated_at":"2016-04-13T00:29:20Z","closed_at":null,"body":"Shadow Version: 1.2.3\r\n\r\nBefore:\r\nhttps://github.com/liachmodded/UHC-Reloaded/blob/1ed0ee8a1c5c20eed805e3b3888e541815963971/sponge/build.gradle\r\n\r\nAfter:\r\nhttps://github.com/liachmodded/UHC-Reloaded/blob/7b36888b18fe3967d561b6f93b3876b85dac4aa9/sponge/build.gradle\r\n\r\nIn the custom task called `pluginJar` in the case above, the shadowJar does not handle the dependencies correcly. Before, it neither regards classifiers, nor statements like `dependencies.include(dependency('somegroup:someartifact:someversion'))`.\r\nWhen I switch to use `shadowJar` extension, `dependencies.include(dependency('somegroup:someartifact:someversion'))` works, and I also assume that the usage of classifiers will work. Could you help find out the issue?\r\n\r\n**This issue only observed in modular projects, and only in subprojects. Custom `ShadowJar` task in a single project works.**"},"comment":{"url":"https://api.github.com/repos/johnrengelman/shadow/issues/comments/209164023","html_url":"https://github.com/johnrengelman/shadow/issues/202#issuecomment-209164023","issue_url":"https://api.github.com/repos/johnrengelman/shadow/issues/202","id":209164023,"user":{"login":"liach","id":7806504,"avatar_url":"https://avatars.githubusercontent.com/u/7806504?v=3","gravatar_id":"","url":"https://api.github.com/users/liach","html_url":"https://github.com/liach","followers_url":"https://api.github.com/users/liach/followers","following_url":"https://api.github.com/users/liach/following{/other_user}","gists_url":"https://api.github.com/users/liach/gists{/gist_id}","starred_url":"https://api.github.com/users/liach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liach/subscriptions","organizations_url":"https://api.github.com/users/liach/orgs","repos_url":"https://api.github.com/users/liach/repos","events_url":"https://api.github.com/users/liach/events{/privacy}","received_events_url":"https://api.github.com/users/liach/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T00:29:20Z","updated_at":"2016-04-13T00:29:20Z","body":"![image](https://cloud.githubusercontent.com/assets/7806504/14479472/d02f323a-00d3-11e6-8195-fac1db061415.png)\r\n\r\nThe version for comparision:\r\nhttps://github.com/liachmodded/UHC-Reloaded/blob/53fb4dbd0616c740c0a40ccb498acf3df4be6fd5/sponge/build.gradle\r\n\r\nThe `pluginJar` and `shadowJar` generally has the same configuration. But the output differs as shown in the screenshot above, which `shadowJar` is bigger with the dependency shipped."}}