{"action":"created","issue":{"url":"https://api.github.com/repos/johnrengelman/shadow/issues/99","repository_url":"https://api.github.com/repos/johnrengelman/shadow","labels_url":"https://api.github.com/repos/johnrengelman/shadow/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/johnrengelman/shadow/issues/99/comments","events_url":"https://api.github.com/repos/johnrengelman/shadow/issues/99/events","html_url":"https://github.com/johnrengelman/shadow/issues/99","id":44311739,"number":99,"title":"Bundling Shadow with my own Plugins","user":{"login":"stackmagic","id":161776,"avatar_url":"https://avatars.githubusercontent.com/u/161776?v=3","gravatar_id":"","url":"https://api.github.com/users/stackmagic","html_url":"https://github.com/stackmagic","followers_url":"https://api.github.com/users/stackmagic/followers","following_url":"https://api.github.com/users/stackmagic/following{/other_user}","gists_url":"https://api.github.com/users/stackmagic/gists{/gist_id}","starred_url":"https://api.github.com/users/stackmagic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stackmagic/subscriptions","organizations_url":"https://api.github.com/users/stackmagic/orgs","repos_url":"https://api.github.com/users/stackmagic/repos","events_url":"https://api.github.com/users/stackmagic/events{/privacy}","received_events_url":"https://api.github.com/users/stackmagic/received_events","type":"User","site_admin":false},"labels":[{"id":22634271,"url":"https://api.github.com/repos/johnrengelman/shadow/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/johnrengelman/shadow/milestones/18","html_url":"https://github.com/johnrengelman/shadow/milestones/2.0.0","labels_url":"https://api.github.com/repos/johnrengelman/shadow/milestones/18/labels","id":1846343,"number":18,"title":"2.0.0","description":"Java 7 and Gradle 3.0+ Support only.\r\nBuild Shadow w/ Shadow.\r\nBuildScan integration.","creator":{"login":"johnrengelman","id":1012772,"avatar_url":"https://avatars.githubusercontent.com/u/1012772?v=3","gravatar_id":"","url":"https://api.github.com/users/johnrengelman","html_url":"https://github.com/johnrengelman","followers_url":"https://api.github.com/users/johnrengelman/followers","following_url":"https://api.github.com/users/johnrengelman/following{/other_user}","gists_url":"https://api.github.com/users/johnrengelman/gists{/gist_id}","starred_url":"https://api.github.com/users/johnrengelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnrengelman/subscriptions","organizations_url":"https://api.github.com/users/johnrengelman/orgs","repos_url":"https://api.github.com/users/johnrengelman/repos","events_url":"https://api.github.com/users/johnrengelman/events{/privacy}","received_events_url":"https://api.github.com/users/johnrengelman/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":3,"state":"open","created_at":"2016-06-23T23:32:08Z","updated_at":"2016-11-18T22:19:19Z","due_on":"2016-11-30T00:00:00Z","closed_at":null},"comments":12,"created_at":"2014-09-29T16:12:17Z","updated_at":"2016-11-18T22:19:19Z","closed_at":"2016-11-18T22:19:19Z","body":"I'm writing a bunch of my own plugins and I want the user of my plugins to add just 1 repo and dependency to his/her buildscript closure - because my plugins depend on the shadow plugin, I would like to bundle the shadow plugin with my own plugins... using the shadow plugin to build this single all-encompassing jar.\n\nI tried a dozen things but can't seem to get this to work. I always end up with a 42MB jar which includes (I suspect) all of\n\n```\ndependencies {\n    localGroovy()\n    gradleApi()\n}\n```\n\nbecause my plugins need these to compile but obviously I don't want to bundle all gradle/groovy with my own plugins...just shadowJar and its immediate 'non-provided' dependencies.\n\nIs there a way to accomplish this? There has to be. I tried adding new configurations and referencing them, I tried an excplicit include of shadowJar (which by your docs would add an implicit global exclude for everything else) etc - nothing works...\n\nHere's my (broken) build script: https://gist.github.com/stackmagic/01e6d7822a4070138db2\n"},"comment":{"url":"https://api.github.com/repos/johnrengelman/shadow/issues/comments/261657058","html_url":"https://github.com/johnrengelman/shadow/issues/99#issuecomment-261657058","issue_url":"https://api.github.com/repos/johnrengelman/shadow/issues/99","id":261657058,"user":{"login":"johnrengelman","id":1012772,"avatar_url":"https://avatars.githubusercontent.com/u/1012772?v=3","gravatar_id":"","url":"https://api.github.com/users/johnrengelman","html_url":"https://github.com/johnrengelman","followers_url":"https://api.github.com/users/johnrengelman/followers","following_url":"https://api.github.com/users/johnrengelman/following{/other_user}","gists_url":"https://api.github.com/users/johnrengelman/gists{/gist_id}","starred_url":"https://api.github.com/users/johnrengelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnrengelman/subscriptions","organizations_url":"https://api.github.com/users/johnrengelman/orgs","repos_url":"https://api.github.com/users/johnrengelman/repos","events_url":"https://api.github.com/users/johnrengelman/events{/privacy}","received_events_url":"https://api.github.com/users/johnrengelman/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T22:19:19Z","updated_at":"2016-11-18T22:19:19Z","body":"This will be supported in Shadow v2.0.0 by doing the following:\r\n\r\n```\r\ndependencies {\r\n  shadow gradleApi()\r\n  shadow localGroovy()\r\n\r\n  compile \"some:other-plugin:1.2.3\"\r\n}\r\n```\r\n\r\nIn fact Shadow v2.0.0 will be built this way itself."}}
{"actor":{"display_login":"johnrengelman"}}