-
Notifications
You must be signed in to change notification settings - Fork 645
Migrate to DGPv2 #3005
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Migrate to DGPv2 #3005
Conversation
} | ||
dokka.dokkaSourceSets.configureEach { | ||
externalDocumentationLinks.register("kotlinx-io") { | ||
url("https://kotlinlang.org/api/kotlinx-io/") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JIC: old URL is not accessible anymore
@@ -52,11 +52,4 @@ kotlin { | |||
} | |||
} | |||
|
|||
// This task should be disabled because of no need to build and publish intermediate JsWasm sourceset | |||
tasks.whenTaskAdded { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This workaround is not needed, locally build and publish tasks works find without it, but it caused some issues locally at my side.
I can revert it, if you know the reason why it's needed
|
||
sourceLink { | ||
localDirectory.set(rootDir) | ||
perPackageOption { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previously, there were multiple perPackageOption
- most of them are obsolete or separate configurations for internal
package. So, obsolete were removed and internal
are handled by one regex now
Migrate to new Dokka Gradle Plugin (migration guide)
Because of the Gradle task name change, the kotlinlang deploy configuration should also be updated.
Related: JetBrains/kotlin-web-site#4851