{"id":13470362,"url":"https://github.com/jaredsburrows/android-gradle-java-app-template","last_synced_at":"2025-04-15T03:52:52.375Z","repository":{"id":32205479,"uuid":"35779201","full_name":"jaredsburrows/android-gradle-java-app-template","owner":"jaredsburrows","description":"Gradle + Android Studio + Robolectric + Espresso + Mockito","archived":false,"fork":false,"pushed_at":"2025-03-31T00:53:42.000Z","size":640,"stargazers_count":593,"open_issues_count":7,"forks_count":70,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-04-07T18:08:42.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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-05-17T19:17:36.000Z","updated_at":"2025-04-06T01:10:04.000Z","dependencies_parsed_at":"2024-04-03T22:31:11.066Z","dependency_job_id":"938aae36-8d94-4c93-9d17-a1c26c6adcda","html_url":"https://github.com/jaredsburrows/android-gradle-java-app-template","commit_stats":{"total_commits":141,"total_committers":4,"mean_commits":35.25,"dds":"0.36879432624113473","last_synced_commit":"677ff850fe728cdaa32a79614445a6dee53ea675"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredsburrows%2Fandroid-gradle-java-app-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredsburrows%2Fandroid-gradle-java-app-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredsburrows%2Fandroid-gradle-java-app-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredsburrows%2Fandroid-gradle-java-app-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaredsburrows","download_url":"https://codeload.github.com/jaredsburrows/android-gradle-java-app-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249003955,"owners_count":21196794,"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","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-07-31T16:00:29.167Z","updated_at":"2025-04-15T03:52:52.358Z","avatar_url":"https://github.com/jaredsburrows.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"# Android Gradle Java App Template\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n[![build](https://github.com/jaredsburrows/android-gradle-java-app-template/actions/workflows/build.yml/badge.svg)](https://github.com/jaredsburrows/android-gradle-java-app-template/actions/workflows/build.yml)\n[![Twitter Follow](https://img.shields.io/twitter/follow/jaredsburrows.svg?style=social)](https://twitter.com/jaredsburrows)\n\nGradle + Android Studio + Robolectric + Espresso + Mockito\n\n## Technologies used:\n#### Build Tools:\n|Name|Description|\n|---|---|\n| [Gradle](https://gradle.org/docs/current/release-notes) | Gradle build system |\n| [Android Gradle Build Tools](https://tools.android.com/tech-docs/new-build-system) | Official Gradle Plugin |\n| [Android SDK](https://developer.android.com/tools/revisions/platforms.html#5.1) | Official SDK |\n| [Android SDK Build Tools](https://developer.android.com/tools/revisions/build-tools.html) | Official Build Tools |\n| [Android Studio](https://tools.android.com/recent) or | Official IDE |\n| [Intellij](https://www.jetbrains.com/idea/download/) | Intellij IDE |\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#### 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\nThis project builds with [Gradle](www.gradle.org) and the Android Build [tools](https://tools.android.com/tech-docs/new-build-system).\n\n\n**Build the APK:**\n\n```shell\ngradlew assembleDebug\n```\n\n**Install the APK:**\n\n```shell\ngradlew installDebug\n```\n\n\n## Testing\n\n**Running the Unit Tests:**\n\n\nThe [Junit](https://junit.org/junit4/) and [Robolectric](https://github.com/robolectric/robolectric) tests run on the JVM, no need for emulators or real devices.\n\n```shell\ngradlew testDebug\n```\n\n**Run a single unit test in the `debug flavor`:**\n\n```shell\ngradlew 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```shell\ngradlew connectedDebugAndroidTest\n```\n\n## Reports\n\n\n**Generate Lint Reports:**\n\n\nThe [Lint](https://developer.android.com/tools/help/lint.html) plugin generates reports based off the source code.\n\n```shell\ngradlew lintDebug\n```\n\n## License\n```\nCopyright (C) 2015 Jared Burrows\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredsburrows%2Fandroid-gradle-java-app-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaredsburrows%2Fandroid-gradle-java-app-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredsburrows%2Fandroid-gradle-java-app-template/lists"}