Apparently Android Gradle Plugin has a bundled Dok...
# android
l
Apparently Android Gradle Plugin has a bundled Dokka version, which cannot be overridden with a newer one in a project and leads to
javaDocReleaseGeneration
failing with
java.lang.UnsupportedOperationException: PermittedSubclasses requires ASM9
. What is the reason for this bundling of Dokka in AGP? Here the error stack trace See also discussion in the #dokka channel
k
I'd guess it's to support javadoc in an AAR lib? I think it's a weird thing to include in AGP too...
l
Probably.
The problem is, if you anyway configure Dokka yourself in the project, then it just gets in the way.
k
+1...weird thing to do. I'd rather devs do it manually...
It's also probably worth filing a bug in b.android.com to ask that it be removed...
l
I already filed a bug in Google's Issuetracker (under Android Studio, because it told me I have no permission to file a bug for AGP), but now apparently I also have no permission to view the bug ticket I created 🤣
👍 1
😂 3
🤦 2