{"action":"created","issue":{"url":"https://api.github.com/repos/mdietrichstein/gradle-offline-dependencies-plugin/issues/13","repository_url":"https://api.github.com/repos/mdietrichstein/gradle-offline-dependencies-plugin","labels_url":"https://api.github.com/repos/mdietrichstein/gradle-offline-dependencies-plugin/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/mdietrichstein/gradle-offline-dependencies-plugin/issues/13/comments","events_url":"https://api.github.com/repos/mdietrichstein/gradle-offline-dependencies-plugin/issues/13/events","html_url":"https://github.com/mdietrichstein/gradle-offline-dependencies-plugin/issues/13","id":318324558,"number":13,"title":"Does not work for buildscript dependencies in script plugins","user":{"login":"winterDroid","id":1552225,"avatar_url":"https://avatars3.githubusercontent.com/u/1552225?v=4","gravatar_id":"","url":"https://api.github.com/users/winterDroid","html_url":"https://github.com/winterDroid","followers_url":"https://api.github.com/users/winterDroid/followers","following_url":"https://api.github.com/users/winterDroid/following{/other_user}","gists_url":"https://api.github.com/users/winterDroid/gists{/gist_id}","starred_url":"https://api.github.com/users/winterDroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winterDroid/subscriptions","organizations_url":"https://api.github.com/users/winterDroid/orgs","repos_url":"https://api.github.com/users/winterDroid/repos","events_url":"https://api.github.com/users/winterDroid/events{/privacy}","received_events_url":"https://api.github.com/users/winterDroid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-27T08:40:58Z","updated_at":"2018-05-10T00:54:25Z","closed_at":null,"author_association":"NONE","body":"Hey!\r\n\r\nGreat plugin. I recognized that dependencies defined in the buildscript of script plugins are not fetched. Example:\r\n\r\n```\r\n# plugin.gradle\r\n\r\nbuildscript {\r\n    repositories { ... }\r\n    dependencies {\r\n        classpath \"com.test:testdep:1.0.0\"\r\n    }\r\n}\r\n\r\napply plugin: \"testplugin\"\r\n```\r\n\r\n```\r\n# build.gradle\r\nbuildscript {\r\n  repositories {\r\n    maven {\r\n      url 'https://plugins.gradle.org/m2/'\r\n    }\r\n  }\r\n  dependencies {\r\n    classpath 'gradle.plugin.io.pry.gradle.offline_dependencies:gradle-offline-dependencies-plugin:0.3'\r\n  }\r\n}\r\n\r\napply from: \"plugin.gradle\"\r\napply plugin: 'io.pry.gradle.offline_dependencies'\r\n```\r\n\r\nIn that case the `com.test:testdep:1.0.0\" dependency won't be fetched. As a workaround I can add it to the `build.gradle` dependencies."},"comment":{"url":"https://api.github.com/repos/mdietrichstein/gradle-offline-dependencies-plugin/issues/comments/387918044","html_url":"https://github.com/mdietrichstein/gradle-offline-dependencies-plugin/issues/13#issuecomment-387918044","issue_url":"https://api.github.com/repos/mdietrichstein/gradle-offline-dependencies-plugin/issues/13","id":387918044,"user":{"login":"mandrachek","id":1045440,"avatar_url":"https://avatars2.githubusercontent.com/u/1045440?v=4","gravatar_id":"","url":"https://api.github.com/users/mandrachek","html_url":"https://github.com/mandrachek","followers_url":"https://api.github.com/users/mandrachek/followers","following_url":"https://api.github.com/users/mandrachek/following{/other_user}","gists_url":"https://api.github.com/users/mandrachek/gists{/gist_id}","starred_url":"https://api.github.com/users/mandrachek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mandrachek/subscriptions","organizations_url":"https://api.github.com/users/mandrachek/orgs","repos_url":"https://api.github.com/users/mandrachek/repos","events_url":"https://api.github.com/users/mandrachek/events{/privacy}","received_events_url":"https://api.github.com/users/mandrachek/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T00:54:25Z","updated_at":"2018-05-10T00:54:25Z","author_association":"NONE","body":"Downloading of buildscript dependencies is addressed in the readme:\r\nhttps://github.com/mdietrichstein/gradle-offline-dependencies-plugin#handling-buildscript-dependencies\r\n"}}
{"actor":{"display_login":"mandrachek"}}