{"action":"created","issue":{"url":"https://api.github.com/repos/robolectric/robolectric/issues/2487","repository_url":"https://api.github.com/repos/robolectric/robolectric","labels_url":"https://api.github.com/repos/robolectric/robolectric/issues/2487/labels{/name}","comments_url":"https://api.github.com/repos/robolectric/robolectric/issues/2487/comments","events_url":"https://api.github.com/repos/robolectric/robolectric/issues/2487/events","html_url":"https://github.com/robolectric/robolectric/issues/2487","id":158474631,"number":2487,"title":"Migrate Maven continuous build system to Gradle","user":{"login":"jongerrish","id":6314616,"avatar_url":"https://avatars.githubusercontent.com/u/6314616?v=3","gravatar_id":"","url":"https://api.github.com/users/jongerrish","html_url":"https://github.com/jongerrish","followers_url":"https://api.github.com/users/jongerrish/followers","following_url":"https://api.github.com/users/jongerrish/following{/other_user}","gists_url":"https://api.github.com/users/jongerrish/gists{/gist_id}","starred_url":"https://api.github.com/users/jongerrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jongerrish/subscriptions","organizations_url":"https://api.github.com/users/jongerrish/orgs","repos_url":"https://api.github.com/users/jongerrish/repos","events_url":"https://api.github.com/users/jongerrish/events{/privacy}","received_events_url":"https://api.github.com/users/jongerrish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-03T23:50:43Z","updated_at":"2016-06-10T17:55:57Z","closed_at":null,"body":"### Description\r\n\r\nGradle is the standard build system for Android projects now, Robolectric still uses Maven. We should switch to Gradle because it makes it easier for us to reproduce customers issues and write tests for libraries with resources.\r\n\r\nSome tasks:-\r\n\r\n1) Switch from Maven to Gradle.\r\n2) Replace build-resources.rb / checked in R.java file with switching the module to an android module and having aapt process the resources.\r\n3) Switch all tests to GradleRobolectricTestRunner (not necessary if \r\nhttps://github.com/robolectric/robolectric/issues/2441 is done first).\r\n4) Switch pure Java tests e.g: tests that test Robolectric resource / util modules to using @RunWith(JUnit4.class) - these don't need a Robolectric environment and tests run faster as pure JUnit.\r\n5) Investigate refactoring scripts/install-android.sh to use the SDK Manager command line interface instead of requiring contributors to perform the updates manually (see http://tools.android.com/recent/updatingsdkfromcommand-line)\r\n\r\nThe Maven build has many disadvantages, it is slow and non-parallel and non-incremental, relying on scripts/install-robolectric.sh to build everything, install the jars in the local mvn repo and then run tests on them. We should be able to kill this script hopefully.\r\n\r\n\r\n\r\n\r\n### Steps to Reproduce\r\n\r\n### Robolectric & Android Version\r\n"},"comment":{"url":"https://api.github.com/repos/robolectric/robolectric/issues/comments/225251386","html_url":"https://github.com/robolectric/robolectric/issues/2487#issuecomment-225251386","issue_url":"https://api.github.com/repos/robolectric/robolectric/issues/2487","id":225251386,"user":{"login":"jaredsburrows","id":1739848,"avatar_url":"https://avatars.githubusercontent.com/u/1739848?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredsburrows","html_url":"https://github.com/jaredsburrows","followers_url":"https://api.github.com/users/jaredsburrows/followers","following_url":"https://api.github.com/users/jaredsburrows/following{/other_user}","gists_url":"https://api.github.com/users/jaredsburrows/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredsburrows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredsburrows/subscriptions","organizations_url":"https://api.github.com/users/jaredsburrows/orgs","repos_url":"https://api.github.com/users/jaredsburrows/repos","events_url":"https://api.github.com/users/jaredsburrows/events{/privacy}","received_events_url":"https://api.github.com/users/jaredsburrows/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T17:55:56Z","updated_at":"2016-06-10T17:55:56Z","body":"This is a duplicate of https://github.com/robolectric/robolectric/issues/1854"}}
{"actor":{"display_login":"jaredsburrows"}}