Everything New in AGP 9.0 For Kotlin Projects @Kotlin
Everything New in AGP 9.0 For Kotlin Projects  @Kotlin
Uploaded March 2026 | Updated November 2026, 3 hours ago
The latest version of the Android Gradle plugin from Google comes with some significant changes for Kotlin projects:

1. All Android apps should start using AGP 9.0’s built-in Kotlin support.
2. Kotlin Multiplatform projects that target Android will need to migrate to use the new Android KMP library plugin.

In this video, we’ll take a detailed look at both of these changes, and see how you can migrate your existing projects to AGP 9. Of course there’s also plenty of written guidance for this, which I’ll mention several times in this video, and you’ll find all the relevant links in the description.


📝 Notes:

The android.builtInKotlin=false property also requires using the android.newDsl=false property.

AGP 9.1.0 is planning to rename the `androidLibrary` block to simply `android`.


📚 Resources:

Blog post: AGP 9.0 changes for Kotlin projects blog.jetbrains.com/kotlin/2026/01/update-your-projects-for-agp9

Migration guide to AGP 9.0 kotlinlang.org/docs/multiplatform/multiplatform-project-agp-9-migration.html

AI Agent skill for the AGP 9 migration: github.com/Kotlin/kotlin-agent-skills/blob/main/skills/kotlin-tooling-agp9-migration/SKILL.md

Setting up common previews kotlinlang.org/docs/multiplatform/compose-previews.html

KMP sample of using variants in a new Android library module
github.com/zsmb13/MovingBuildTypesToNewLibraryAgp9

Built-in Kotlin documentation developer.android.com/build/migrate-to-built-in-kotlin
Android KMP library plugin documentation developer.android.com/kotlin/multiplatform/plugin

Migrating kapt to KSP developer.android.com/build/migrate-to-ksp

BuildConfig solutions for multiplatform
github.com/gmazzo/gradle-buildconfig-plugin
github.com/yshrsmz/BuildKonfig

Gradle recipes for AGP 9.0 github.com/android/gradle-recipes/tree/agp-9.0
Full AGP 9.0 release notes developer.android.com/build/releases/agp-9-0-0-release-notes
What's new in AGP 9.0 and beyond youtube.com/watch?v=FOID0bwr0As

Kotlin plugins BOM mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-gradle-plugins-bom

AGP 9.0 plugin compatibility page agp-status.frybits.com/agp-9.0.0

PR showcasing the changes from the live demos of the video github.com/Kotlin/KMP-App-Template/pull/60


⏱️ Timestamps:

0:00 Overview
1:08 Built-in Kotlin
2:32 Incremental migration to built-in
3:06 Overriding the built-in Kotlin version
4:21 KMP-relate changes overview
5:47 Android app module migration
6:41 Hands-on app migration
7:07 Version change and new plugins
7:52 Creating the new app module
9:21 Making composeApp a library
9:54 Moving sources to the app module
11:00 Renaming the library (optional)
11:49 Android library module migration
12:41 Hands-on library migration
13:50 Differences in the new plugin
14:20 Single variant
15:28 BuildConfig and applicationVariants
15:59 Compose Multiplatform previews
16:40 Enabling resources
17:51 Tests, consumer keep rules, native builds
18:35 Third-party plugins
19:03 Learn more
Everything New in AGP 9.0 For Kotlin ProjectsTeaching Kotlin for the AI Era: Tips, Tools, and Practical Insights | Daniil KarolInside Kotlins Language Design | KotlinConfersationsWhy ING Chooses Kotlin for Server-SideDependencies and Kotlin Native | Tadeas KrizRefactor Kotlin code from OO to functional - step by step, safely, and pragmatically.The legacy of Persona 5s user interfaces (and recreating them in Kotlin and Compose Multiplatform)New Contracts in Kotlin: Making smart-casts better using returnsNotNullHow KMP Helped a 378-Year-Old CompanyA better way to explore and solve programming puzzles: Kotlin NotebooksWhat Nobody Told Us About Shipping Kotlin to iOS | Suhyeon (Leah) KimKotlin/JS: Past, Present and Future | Artem Kobzar
Kotlin by JetBrains |

Everything New in AGP 9.0 For Kotlin Projects

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER