Buildless, Android, and Gradle.
Uncached build (1 minute 25 seconds) | Cached build (32 seconds) |
---|---|
Together, these tools provide an Android development environment, enabled with blazing-fast remote build caching. Buildless handles build caching for the app.
Before you start: Obtain an API key for Buildless, set it at
BUILDLESS_APIKEY
in your environment
- Clone the sample
- Run a build with
./gradlew build
; observe that Gradle uses Buildless
That's it! Enjoy lightning-fast builds on Android 🔥
To build the Android app:
./gradlew build
To run the Android app:
Launch an emulator ->
./gradlew installDebug
This is a GitHub Template repository; you can easily use it to create your own repo. Follow these steps to customize it for use with your Buildless account:
- Update
.github/CODEOWNERS
- Add a GitHub Secret called
BUILDLESS_APIKEY
, set to the API key you want to use in CI - That's it!
You can use Organization Secrets to automatically provide a BUILDLESS_APIKEY
to all your repos.