{"id":19413017,"url":"https://github.com/buildless/sample-android-gradle","last_synced_at":"2025-02-25T02:44:49.028Z","repository":{"id":196321918,"uuid":"695697050","full_name":"buildless/sample-android-gradle","owner":"buildless","description":"Android, Gradle, and Buildless together","archived":false,"fork":false,"pushed_at":"2024-05-14T21:23:24.000Z","size":269,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T15:42:24.246Z","etag":null,"topics":["android","build-acceleration","build-cache","buildless","gradle","kotlin","remote-build-cache"],"latest_commit_sha":null,"homepage":"https://less.build","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buildless.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-09-23T23:41:54.000Z","updated_at":"2023-12-17T03:21:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"58fe5fee-cc94-466e-9a25-eed2d0d50ee7","html_url":"https://github.com/buildless/sample-android-gradle","commit_stats":null,"previous_names":["buildless/sample-android-gradle"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsample-android-gradle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsample-android-gradle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsample-android-gradle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsample-android-gradle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildless","download_url":"https://codeload.github.com/buildless/sample-android-gradle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240593170,"owners_count":19825930,"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":["android","build-acceleration","build-cache","buildless","gradle","kotlin","remote-build-cache"],"created_at":"2024-11-10T12:30:00.683Z","updated_at":"2025-02-25T02:44:48.991Z","avatar_url":"https://github.com/buildless.png","language":"Kotlin","readme":"# android + gradle sample\n\n[Buildless][1], [Android][2], and [Gradle][3].\n\n\n\n| Uncached build (**1 minute  25 seconds**)                | Cached build (**32 seconds**)                            |\n|----------------------------------------------------------|----------------------------------------------------------|\n| \u003cimg src=\"docs/build-cli-clean.png\" alt=\"Clean build\" /\u003e | \u003cimg src=\"docs/build-cli-repeat.png\" alt=\"Cached build\"\u003e |\n\n\n## Details about this sample\n\nTogether, these tools provide an Android development environment, enabled with blazing-fast remote build caching. Buildless handles build caching for the app.\n\n\n### Additional resources\n\n- [Buildless docs: Gradle setup][4]\n\n\n## Trying the sample\n\n\u003e **Before you start:** Obtain an API key for [Buildless][1], set it at `BUILDLESS_APIKEY` in your environment\n\n1) Clone the sample\n2) Run a build with `./gradlew build`; observe that Gradle uses Buildless\n\nThat's it! Enjoy lightning-fast builds on Android 🔥\n\n\n### Building and running the app\n\n\u003e To build the Android app:\n```\n./gradlew build\n```\n\n\u003e To run the Android app:\n```\nLaunch an emulator -\u003e\n```\n```\n./gradlew installDebug\n```\n\n\n## Using the sample for your own codebase\n\nThis is a [GitHub Template repository][5]; you can easily use it to create your own repo. Follow these steps to customize it\nfor use with your Buildless account:\n\n1) Update `.github/CODEOWNERS`\n2) Add a [GitHub Secret][6] called `BUILDLESS_APIKEY`, set to the API key you want to use in CI\n3) That's it!\n\n\n### Sharing an API key across an organization\n\nYou can use [Organization Secrets][7] to automatically provide a `BUILDLESS_APIKEY` to all your repos.\n\n\n[1]: https://less.build\n[2]: https://www.android.com/\n[3]: https://gradle.org/\n[4]: https://docs.less.build/docs/gradle-project-setup\n[5]: https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template\n[6]: https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions\n[7]: https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-an-organization","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildless%2Fsample-android-gradle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildless%2Fsample-android-gradle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildless%2Fsample-android-gradle/lists"}