{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-mobile/android-components/issues/1137","repository_url":"https://api.github.com/repos/mozilla-mobile/android-components","labels_url":"https://api.github.com/repos/mozilla-mobile/android-components/issues/1137/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-mobile/android-components/issues/1137/comments","events_url":"https://api.github.com/repos/mozilla-mobile/android-components/issues/1137/events","html_url":"https://github.com/mozilla-mobile/android-components/pull/1137","id":372938911,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0OTkxNzY2","number":1137,"title":"Simplify build configuration..","user":{"login":"pocmo","id":89638,"node_id":"MDQ6VXNlcjg5NjM4","avatar_url":"https://avatars0.githubusercontent.com/u/89638?v=4","gravatar_id":"","url":"https://api.github.com/users/pocmo","html_url":"https://github.com/pocmo","followers_url":"https://api.github.com/users/pocmo/followers","following_url":"https://api.github.com/users/pocmo/following{/other_user}","gists_url":"https://api.github.com/users/pocmo/gists{/gist_id}","starred_url":"https://api.github.com/users/pocmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocmo/subscriptions","organizations_url":"https://api.github.com/users/pocmo/orgs","repos_url":"https://api.github.com/users/pocmo/repos","events_url":"https://api.github.com/users/pocmo/events{/privacy}","received_events_url":"https://api.github.com/users/pocmo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-23T10:59:23Z","updated_at":"2018-10-23T14:03:19Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/mozilla-mobile/android-components/pulls/1137","html_url":"https://github.com/mozilla-mobile/android-components/pull/1137","diff_url":"https://github.com/mozilla-mobile/android-components/pull/1137.diff","patch_url":"https://github.com/mozilla-mobile/android-components/pull/1137.patch"},"body":"This simplifies our configuration and avoids a lot of the duplication.\r\n\r\nCC: @JohanLorenzo @MihaiTabara "},"comment":{"url":"https://api.github.com/repos/mozilla-mobile/android-components/issues/comments/432259965","html_url":"https://github.com/mozilla-mobile/android-components/pull/1137#issuecomment-432259965","issue_url":"https://api.github.com/repos/mozilla-mobile/android-components/issues/1137","id":432259965,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjI1OTk2NQ==","user":{"login":"pocmo","id":89638,"node_id":"MDQ6VXNlcjg5NjM4","avatar_url":"https://avatars0.githubusercontent.com/u/89638?v=4","gravatar_id":"","url":"https://api.github.com/users/pocmo","html_url":"https://github.com/pocmo","followers_url":"https://api.github.com/users/pocmo/followers","following_url":"https://api.github.com/users/pocmo/following{/other_user}","gists_url":"https://api.github.com/users/pocmo/gists{/gist_id}","starred_url":"https://api.github.com/users/pocmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocmo/subscriptions","organizations_url":"https://api.github.com/users/pocmo/orgs","repos_url":"https://api.github.com/users/pocmo/repos","events_url":"https://api.github.com/users/pocmo/events{/privacy}","received_events_url":"https://api.github.com/users/pocmo/received_events","type":"User","site_admin":false},"created_at":"2018-10-23T14:03:19Z","updated_at":"2018-10-23T14:03:19Z","author_association":"CONTRIBUTOR","body":"> @pocmo @JohanLorenzo related (or maybe unrelated to this), if we wanted to implement bug 1500149 soon, would settings.gradle still be a good place for us to squeeze some of the information we currently have in artifacts.yml?\r\n\r\nYeah, if we want to configure some project specific properties in a centralized way then this may be a good place for that.\r\n\r\n> One idea was to simply parse the gradle file in python and grab what we need from comments or alike. It'd be great to retire the artifacts.yml and make sure we single-source everything in one place for all the developers that will want to add/remove a component in the near future.\r\n\r\nI wouldn't necessarily try to parse the gradle files. Things change with every gradle version and for every new Android plugin we almost always need to update Gradle too.\r\n\r\nI needed some data (like version or module list) in some of the scripts too and wrote those simple tasks that output data in a form that I can parse more easily:\r\n\r\nhttps://github.com/mozilla-mobile/android-components/blob/c90f4f0c06e8ac289d278d1da275b3f4d2e1d02d/build.gradle#L228-L240"}}
{"actor":{"display_login":"pocmo"}}