Migrate to Gradle version catalog and convention plugins
summary
Migrates an existing project to a central libs.versions.toml, adds a small Gradle plugin published as a composite build so the cache stays intact, and replaces repeated dependency lines with one-line bundles that actually resolve and speed up builds. Demonstrates the includedBuild composite trick that prevents cache invalidation, shows using Renovate/RefreshVersions to automate updates, notes the need for type-safe API workarounds for convention plugins and that Android Studio support is improving.
AI-written summary · about
chapters (5)
- 0:00Start
- 0:42Stone Age - Groovy
- 2:33Medieval Age-buildSrc
- 4:37Modern Age - Version Catalog
- 16:18Type-Unsafe API
related talks
41mThe future of dependency management, seen from 2022
30mAnd Gradle says: sharing is caring - Or why Gradle Plugins are all you need for your Configuration
01h 15mKeeping growing software projects under control with Gradle
34mWhat's new with the Android Gradle plugin
02h 49mGradle: Give Your Build Some Love and It Will Love You Back!
21mWhat's new in Android Build
49mGradle Ex Machina
56mDeep Dive into the Android Gradle Plugin
