Level up your Android build
summary
Gradle becomes the real build engine: use the Gradle Android plugin, the Gradle wrapper for reproducible builds, and community plugins to add tasks for running on devices, annotation processing with gradle-android-apt, and dependency reports with gradle-versions-plugin. CI pipelines run lint, ProGuard and filtered connectedAndroidTests by API level using a small Groovy hook; versioning and automated git commits live in buildSrc Groovy classes; Play Store deploys use play-publisher to upload APKs and metadata. Examples show automated releases from Jenkins, custom tasks that archive artifacts, and hacks that work but require maintenance.
AI-written summary · about
chapters (20)
- 0:00Intro
- 2:02app/build.gradle
- 3:38Relevant Build Files
- 4:09Gradle wrapper
- 6:20Using a Gradle plugin
- 11:15Archive Release
- 12:56Scaling up
- 13:59Re-use - Core project
- 16:15Separation - Integration Tests for Java
- 16:29Keep Up To Date
- 18:26Code Quality Tools
- 20:09Continuous Integration
- 21:52Connected Tests on CI
- 23:55Releasing from CI
- 24:29Release from CI - Versioning
- 30:15Advanced - Complex Build Scripts share common configuration data via root subfolder
- 31:17Advanced - Shrink
- 32:36Advanced - Sync images
- 33:49Advanced - Sqlite Access
- 36:11Advanced - Groovy on Android
related talks
39mLevel up your Android Build (en)
43mThe New Android SDK Build System
45mThe Android Build System
34mWhat's new in Android development tools
32mBuilding Quality Android Apps for the Future with Continuous Integration
32m5 ways to improve your Android build productivity
34mWhat's new with the Android Gradle plugin
28mMaking the most of your Gradle Builds
