{"id":16558241,"url":"https://github.com/jaredsburrows/android-gradle-groovy-app-template","last_synced_at":"2025-07-27T02:09:57.713Z","repository":{"id":145261889,"uuid":"48837814","full_name":"jaredsburrows/android-gradle-groovy-app-template","owner":"jaredsburrows","description":"Gradle + Android Studio + Robolectric + Espresso + RoboSpock + JaCoCo","archived":false,"fork":false,"pushed_at":"2019-06-16T03:11:52.000Z","size":187,"stargazers_count":40,"open_issues_count":0,"forks_count":4,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-03T20:11:18.445Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaredsburrows.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-31T06:42:52.000Z","updated_at":"2021-01-01T06:24:32.000Z","dependencies_parsed_at":"2023-07-08T16:45:39.805Z","dependency_job_id":null,"html_url":"https://github.com/jaredsburrows/android-gradle-groovy-app-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jaredsburrows/android-gradle-groovy-app-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredsburrows%2Fandroid-gradle-groovy-app-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredsburrows%2Fandroid-gradle-groovy-app-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredsburrows%2Fandroid-gradle-groovy-app-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredsburrows%2Fandroid-gradle-groovy-app-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaredsburrows","download_url":"https://codeload.github.com/jaredsburrows/android-gradle-groovy-app-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredsburrows%2Fandroid-gradle-groovy-app-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267285806,"owners_count":24064227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T20:10:01.783Z","updated_at":"2025-07-27T02:09:57.693Z","avatar_url":"https://github.com/jaredsburrows.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android Gradle Groovy App Template \n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)\n[![TravisCI Build](https://img.shields.io/travis/jaredsburrows/android-gradle-groovy-app-template/master.svg)](https://travis-ci.org/jaredsburrows/android-gradle-groovy-app-template)\n[![Coveralls Code Coverage](https://img.shields.io/coveralls/jaredsburrows/android-gradle-groovy-app-template/master.svg?label=Code%20Coverage)](https://coveralls.io/github/jaredsburrows/android-gradle-groovy-app-template?branch=master)\n[![Twitter Follow](https://img.shields.io/twitter/follow/jaredsburrows.svg?style=social)](https://twitter.com/jaredsburrows)\n\nGradle + Android Studio + Robolectric + Espresso + RoboSpock + JaCoCo\n\n## Technologies used:\n#### Build Tools:\n|Name|Description|\n|---|---|\n| [Gradle](http://gradle.org/docs/current/release-notes) | Gradle build system |\n| [Android Gradle Build Tools](http://tools.android.com/tech-docs/new-build-system) | Official Gradle Plugin |\n| [Android SDK](http://developer.android.com/tools/revisions/platforms.html#5.1) | Official SDK |\n| [Android SDK Build Tools](http://developer.android.com/tools/revisions/build-tools.html) | Official Build Tools |\n| [Android Studio](http://tools.android.com/recent) or | Official IDE |\n| [Intellij](https://www.jetbrains.com/idea/download/) | Intellij IDE |\n\n#### Android Libraries:\n|Name|Description|\n|---|---|\n| [Android Support-v4](http://developer.android.com/tools/support-library/features.html#v4) | Support Library API 4+ |\n| [Android AppCompat-v7](http://developer.android.com/tools/support-library/features.html#v7-appcompat) | Support Library API 7+ |\n\n#### Testing Frameworks:\n|Name|Description|\n|---|---|\n| [Espresso](https://google.github.io/android-testing-support-library/) | Instrumentation Framework |\n| [Robolectric](https://github.com/robolectric/robolectric) | Unit Testing Framework |\n\n#### Reporting Plugins:\n|Name|Description|\n|---|---|\n| [JaCoCo](http://www.eclemma.org/jacoco/) | JaCoCo Test Coverage |\n| [Coveralls](https://coveralls.io/) | Hosts test reports published from TravisCI |\n\n#### Continuous Integration:\n|Name|Description|\n|---|---|\n| [TravisCI](http://docs.travis-ci.com/user/languages/android/) | Build Server(Builds, Tests, Publishes reports to Coveralls) |\n\n#### Publishing to Google Play:\n|Name|Description|\n|---|---|\n| [Gradle-play-publisher](https://github.com/Triple-T/gradle-play-publisher) | Publishes your app to Google Play |\n\n# Getting Started:\n## `Android Studio` or `Intellij` Support(Simple):\n- **Import/Open this project with Android Studio/Intellij(click on `build.gradle`)**\n\n- **Instrumentation Tests:**\n  - Change the Build Variant Test Artifact to `Instrumentation Tests`\n  - Right click an instrumentation test located in `src/main/androidTest` and click test\n\n- **Unit Tests:**\n  - Change the Build Variant Test Artifact to `Unit Tests`\n  - Right click a unit test located in `src/main/test` and click test\n\n## Building and Running\n\n\nThis project builds with [Gradle](www.gradle.org) and the Android Build [tools](http://tools.android.com/tech-docs/new-build-system).\n\n\n**Build the APK:**\n\n    $ gradlew assembleDebug\n\n**Install the APK:**\n\n    $ gradlew installDebug\n\n**Run the App:**\n\n    $ gradlew runDebug\n\n## Testing\n\n\n**Running the Unit Tests:**\n\n\nThe [Junit](http://junit.org/junit4/) tests run on the JVM, no need for emulators or real devices.\n\n\n    $ gradlew testDebug\n    \n**Run a single unit test in the `debug flavor`:**\n\n    $ gradlew testDebug --tests=\"*MainActivityTest*\"\n\n    \n**Running the Instrumentation Tests:**\n\n\nThe [Espresso](https://developer.android.com/training/testing/ui-testing/espresso-testing.html) instrumentation tests run on the device.\n\n    $ gradlew connectedDebugAndroidTest\n    \n\n## Reports\n\n\n**Generate Lint Reports:**\n\n\nThe [Lint](http://developer.android.com/tools/help/lint.html) plugin generates reports based off the source code.\n\n\n    $ gradlew lintDebug\n\n\n**Generate Jacoco Test Coverage:**\n\n\nThe [Jacoco](http://www.eclemma.org/jacoco/) plugin generates coverage reports based off the unit tests.\n\n\n    $ gradlew jacocoDebugReport\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredsburrows%2Fandroid-gradle-groovy-app-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaredsburrows%2Fandroid-gradle-groovy-app-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredsburrows%2Fandroid-gradle-groovy-app-template/lists"}