Managing Multi-Module Project with Gradle Plugin and Kotlin
summary
Lays out a concrete recipe: create a buildSrc binary plugin in Kotlin, register it in build.gradle.kts, and apply it across modules to replace duplicated build.gradle files for projects that can scale to more than a hundred modules. Plugin applies Android/Kotlin plugins, sets SDK and ProGuard defaults, enables Java 8 and core library desugaring, adds shared dependencies, and registers Jacoco per-variant report tasks via afterEvaluate with a configurable custom extension to toggle coverage and exclusions.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:30Multi-module Android setup
- 2:53What is Gradle
- 4:44Gradle plugins explained
- 6:11Binary plugin development
- 8:40Setting up plugin project
- 10:45Implementing plugin features
- 14:57Enabling Java 8 features
- 17:05Code coverage with Jacoco
- 23:51Applying the plugin
- 24:54Benefits of Gradle plugins
- 27:40Summary and Q&A
related talks
38mMultiplatfom projects with Kotlin
27mAn Android Dev start to Kotlin Multiplatform
35mThe Art of KMP: what you need to know as a multiplatform developer
32mKotlin Multiplatform in Action
22mArchitecting a Kotlin Multiplatform App
48mEffective Multiplatform Kotlin Development
01h 07mDevelop Multiplatform Projects in Kotlin
17mKotlin Multiplatform – Sharing is caring!
