AGP 9 support
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.
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).