atsushieno
10/11/2022, 3:39 AMIgnat Beresnev
10/11/2022, 12:07 PMktmidi
module, but it's not present in the parent build.gradle
script. I would start with that and see if it works
Index: build.gradle
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/build.gradle b/build.gradle
--- a/build.gradle (revision 079e433a8f9fcee06f85f2291a1ec0c52d77f342)
+++ b/build.gradle (date 1665489875417)
@@ -2,6 +2,7 @@
id "org.jetbrains.kotlin.multiplatform" version "1.7.20" apply false
id "org.jetbrains.kotlin.jvm" version "1.7.20" apply false
id "com.android.library" version "7.3.0" apply false
+ id("org.jetbrains.dokka") version "1.7.10"
}
allprojects {
./gradlew buildEnvironment
in the root project directory you'll actually see that you have Dokka 1.4.32
on the classpath
and if you run ./gradlew ktmidi:buildEnvironment
, you'll see that it has Dokka 1.7.10
on the classpath
These two are not compatible, so running ./gradlew clean :ktmidi:dokkaHtml --stacktrace
results in this:
Caused by: java.lang.NoSuchMethodError: 'java.util.Set org.jetbrains.dokka.DokkaDefaults.getDocumentedVisibilities()'
which is somewhat expected
This issue should be resolved in AGP 7.3, I see you're currently using 7.2apply = false
), it'll override Dokka 1.4 shipped with AGP with the newer version then.atsushieno
10/11/2022, 12:16 PM