Closed ShreckYe closed 3 days ago
Hi, thanks for the report and reproducer.
To me this looks like expected behaviour. Dokka needs to download the runtime dependencies from Maven Central, and so the buildscripts must add the Maven Central repo.
The Dokka Gradle plugin V2 example declares the repository using dependencyResolutionManagement {}
in settings.gradle.kts
.
Thank you for your kind explanation.
Describe the bug The same as #2260.
Expected behaviour The same as #2260.
Screenshots
To Reproduce Clone and check out https://github.com/huanshankeji/gradle-common/commit/d0c81059c453e854043475d9e7f077826ad84c8a and run the
dokkaGenerate
Gradle task.Dokka configuration See the changes in https://github.com/huanshankeji/gradle-common/commit/d0c81059c453e854043475d9e7f077826ad84c8a.
Installation
Additional context The same as #2260. The solution there works too.