https://kotlinlang.org logo
#android
Title
# android
l

Lukasz Kalnik

03/05/2024, 12:48 PM
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

kenkyee

03/05/2024, 2:40 PM
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

Lukasz Kalnik

03/05/2024, 2:40 PM
Probably.
The problem is, if you anyway configure Dokka yourself in the project, then it just gets in the way.
k

kenkyee

03/05/2024, 2:42 PM
+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

Lukasz Kalnik

03/05/2024, 2:50 PM
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
5 Views