AltBeacon / android-beacon-library

Allows Android apps to interact with BLE beacons
Apache License 2.0
2.83k stars 834 forks source link

Repair Circle CI integration #1066

Closed mannodermaus closed 2 years ago

mannodermaus commented 2 years ago

Sorry for breaking the CI with https://github.com/AltBeacon/android-beacon-library/pull/1065. 🙈 I noticed it on a whim after checking out the merged commit and felt really guilty, so this PR updates this integration to the current year's best practices. Most notably, the new CI images use JDK 11, which is required by the Android 12 SDK (the linked PR bumped up the compileSdk to 31, causing this shift). With the new integration, Circle CI provides some vastly improved tooling for running Android tasks, slimming down the build file and stabilizing its predictability.

An example run with this pipeline can be found in my fork: https://app.circleci.com/pipelines/github/mannodermaus/android-beacon-library/7/workflows/44ae4cc8-e6e1-4562-ac0a-7fc4164da9c0/jobs/7