Rafael Costa
05/31/2023, 11:30 PM> Task :moduleX:javaDocReleaseGeneration
Initializing plugins
Dokka is performing: documentation for :moduleX
Validity check
Creating documentation models
WARN: Could not read file: /some/path/build/intermediates/compile_library_classes_jar/release/classes.jar!/some/path/SomeSealedClass.class; size in bytes: 1011; file type: CLASS
java.lang.UnsupportedOperationException: PermittedSubclasses requires ASM9
Ignat Beresnev
06/01/2023, 1:58 AMjavaDocReleaseGeneration
🙂 Where does it actually come from, is it from AGP?
If it's from AGP, the task is likely using the version of Dokka that is bundled in AGP (and this version is likely very old, so it doesn't support Java 17+). I left a more detailed explanation here: https://github.com/Kotlin/dokka/issues/2956#issuecomment-1522451063Rafael Costa
06/01/2023, 7:50 AMWhere does it actually come from, is it from AGP?I’m not sure.. but I was running a task that publishes the library to maven central. How can I check where this subtask comes from? Also is there a way to force a specific version of dokka?
Rafael Costa
06/01/2023, 8:05 AMRafael Costa
06/01/2023, 8:05 AMIgnat Beresnev
06/01/2023, 11:13 AMRafael Costa
07/07/2023, 1:06 PMRafael Costa
07/07/2023, 1:07 PM