Dokka: 1.4.0-rc: wrong dependency scope

Created on 17 Aug 2020  ยท  3Comments  ยท  Source: Kotlin/dokka

Describe the bug

I have a Gradle plugin that has a dependency on the Dokka plugin to access DokkaTask. With 1.4.0-rc I'm getting this compile error when calling DokkaTask.outputDirectory: Cannot access 'org.jetbrains.dokka.plugability.Configurable' which is a supertype of 'org.jetbrains.dokka.gradle.AbstractDokkaTask'. Check your module classpath for missing or conflicting dependencies. Looks like the dependency scope is not defined correctly.

You can see it on this branch https://github.com/vanniktech/gradle-maven-publish-plugin/tree/dokka

Expected behaviour

No compile error.

bug high priority

Most helpful comment

Tried the build 1.4.0-dev-35 on your project.
Compiles fine โœ…
Tests are passing โœ…
Sebi is happy โœ… ๐ŸŽ‰

All 3 comments

Got the same error. To fix that, need to add "org.jetbrains.dokka:dokka-core explicitly.

You can try out this dev build 1.4.0-dev-35. It should work there, but this issue might come up at other corners and needs some attention from our side ๐Ÿค”

Tried the build 1.4.0-dev-35 on your project.
Compiles fine โœ…
Tests are passing โœ…
Sebi is happy โœ… ๐ŸŽ‰

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Groostav picture Groostav  ยท  6Comments

martinkocjan-tomtom picture martinkocjan-tomtom  ยท  6Comments

rbares picture rbares  ยท  4Comments

hamza1311 picture hamza1311  ยท  5Comments

juergenzimmermann picture juergenzimmermann  ยท  3Comments