dokka icon indicating copy to clipboard operation
dokka copied to clipboard

AGP 9 support

Open bddckr opened this issue 3 months ago • 1 comments

Describe the bug Android Gradle Plugin 9 (9.0.0-alpha05) doesn't seem to be supported. All projects using Dokka are logging this:

> Configure project :my-project class org.jetbrains.dokka.gradle.adapters.AndroidExtensionWrapper could not get Android Extension for project :my-project

Expected behaviour Dokka should behave properly on AGP 9, just like it works fine on AGP 8.13.0.

To Reproduce In an Android project using Dokka v2, change the AGP dependencies to use (the latest preview of) version 9.

Installation

  • Operating system: macOS
  • Build tool: Gradle 9.0.0
  • Dokka version: 2.0.0

Additional context I'm aware that AGP 9 is in preview status right now, but I figured it's a good idea to open an issue early for the breaking API changes done in AGP.

bddckr avatar Sep 15 '25 12:09 bddckr

Hey! Thanks for creating the issue! We were initially hoping that #4231 would be enough, but it looks like it's not the case :( In any case, we are currently investigating what needs to be done on Dokka's side and planning to provide a stable release, which will include proper support for AGP 9 (hopefully before the stable AGP 9 release).

whyoleg avatar Sep 18 '25 16:09 whyoleg