Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore advanced Gradle techniques for managing large Android projects in this 37-minute Google I/O'19 conference talk. Discover how AndroidX libraries leverage Android Studio and Gradle, learn best practices, and avoid common pitfalls. Gain insights into effective build structuring for speed, correctness, and maintainability. Delve into tips for utilizing the Android Gradle Plugin and explore new features designed to enhance user experience. Topics covered include Java and Kotlin library management, plugin optimization, annotation processor scoping, Lint configuration, API implementation strategies, modularization effects, module-specific configurations, lazy task configuration, task wiring, computation during configuration, Gradle memory limits, and worker management. Enhance your Android development skills and optimize your build processes for large-scale projects.
Syllabus
Intro
Android Projects are the same
Android X build growth
Java or Kotlin only libraries
Apply only needed plugins
Scope annotation processors
Lint final app module
Use api and implementation
Modularization side-effects
Per-module configuration
General Advice
Lazy task configuration
Task Wiring
Computation during Configuration
Caveats
Gradle Memory Limits
Limit Gradle workers
Tracer Agent
Taught by
Android Developers