{"action":"created","issue":{"url":"https://api.github.com/repos/phonegap/build/issues/507","repository_url":"https://api.github.com/repos/phonegap/build","labels_url":"https://api.github.com/repos/phonegap/build/issues/507/labels{/name}","comments_url":"https://api.github.com/repos/phonegap/build/issues/507/comments","events_url":"https://api.github.com/repos/phonegap/build/issues/507/events","html_url":"https://github.com/phonegap/build/issues/507","id":140393475,"number":507,"title":"Support build-extras.gradle file","user":{"login":"bluesliverx","id":391239,"avatar_url":"https://avatars.githubusercontent.com/u/391239?v=3","gravatar_id":"","url":"https://api.github.com/users/bluesliverx","html_url":"https://github.com/bluesliverx","followers_url":"https://api.github.com/users/bluesliverx/followers","following_url":"https://api.github.com/users/bluesliverx/following{/other_user}","gists_url":"https://api.github.com/users/bluesliverx/gists{/gist_id}","starred_url":"https://api.github.com/users/bluesliverx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluesliverx/subscriptions","organizations_url":"https://api.github.com/users/bluesliverx/orgs","repos_url":"https://api.github.com/users/bluesliverx/repos","events_url":"https://api.github.com/users/bluesliverx/events{/privacy}","received_events_url":"https://api.github.com/users/bluesliverx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-12T15:36:03Z","updated_at":"2016-04-09T14:12:13Z","closed_at":null,"body":"I understand that you don't want to enable cordova-style hooks on builds for security reasons, but it may be worthwhile to support a few known build cases, such as the build-extras.gradle file for gradle based android builds.\r\n\r\nI would ask that if you include this file in the root of the repository, it be copied into the android platforms directory, and then the build.gradle that is used automatically (unless you modify it on the PGB side) includes the build-extras.gradle file already as part of cordova/phonegap.\r\n\r\nI'd be happy to make the change myself if the code were available."},"comment":{"url":"https://api.github.com/repos/phonegap/build/issues/comments/207794557","html_url":"https://github.com/phonegap/build/issues/507#issuecomment-207794557","issue_url":"https://api.github.com/repos/phonegap/build/issues/507","id":207794557,"user":{"login":"bluesliverx","id":391239,"avatar_url":"https://avatars.githubusercontent.com/u/391239?v=3","gravatar_id":"","url":"https://api.github.com/users/bluesliverx","html_url":"https://github.com/bluesliverx","followers_url":"https://api.github.com/users/bluesliverx/followers","following_url":"https://api.github.com/users/bluesliverx/following{/other_user}","gists_url":"https://api.github.com/users/bluesliverx/gists{/gist_id}","starred_url":"https://api.github.com/users/bluesliverx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluesliverx/subscriptions","organizations_url":"https://api.github.com/users/bluesliverx/orgs","repos_url":"https://api.github.com/users/bluesliverx/repos","events_url":"https://api.github.com/users/bluesliverx/events{/privacy}","received_events_url":"https://api.github.com/users/bluesliverx/received_events","type":"User","site_admin":false},"created_at":"2016-04-09T14:12:13Z","updated_at":"2016-04-09T14:12:13Z","body":"I was using some incompatible plugins where they would both pull in the android support library.  When that happened, the gradle build would fail complaining about multiple libraries during dexing.\r\n\r\nI was actually able to solve my problem because fortunately there was an updated version of one of the plugins, but I could see this being a use case in the future."}}