You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -63,7 +63,6 @@ Ensure that your project meets the minimum version requirements:
63
63
>
64
64
{style="tip"}
65
65
66
-
67
66
3. Sync your project with Gradle to ensure the new plugin is properly applied:
68
67
69
68
* If you use IntelliJ IDEA, click the **Reload All Gradle Projects**{width=30}{type="joined"} button from the Gradle tool window.
@@ -116,7 +115,7 @@ options according to your project setup:
116
115
includes.from("README.md")
117
116
sourceLink {
118
117
localDirectory.set(file("src/main/kotlin"))
119
-
remoteUrl.set(URL("https://example.com/src"))
118
+
remoteUrl("https://example.com/src")
120
119
remoteLineSuffix.set("#L")
121
120
}
122
121
}
@@ -148,6 +147,17 @@ options according to your project setup:
148
147
documentedVisibilities.set(
149
148
setOf(VisibilityModifier.Public)
150
149
)
150
+
151
+
// OR
152
+
153
+
documentedVisibilities(VisibilityModifier.Public)
154
+
```
155
+
156
+
Additionally, DGP v2 has a [utility function](https://github.com/Kotlin/dokka/blob/220922378e6c68eb148fda2ec80528a1b81478c9/dokka-runners/dokka-gradle-plugin/src/main/kotlin/engine/parameters/HasConfigurableVisibilityModifiers.kt#L14-L16) for adding documented visibilities:
***External documentation link:** The source link configuration has [changed](https://docs.gradle.org/current/userguide/upgrading_version_8.html#deprecated_invalid_url_decoding).
@@ -156,15 +166,33 @@ options according to your project setup:
Additionally, DGP v2 has two [utility functions](https://github.com/Kotlin/dokka/blob/220922378e6c68eb148fda2ec80528a1b81478c9/dokka-runners/dokka-gradle-plugin/src/main/kotlin/engine/parameters/DokkaSourceLinkSpec.kt#L82-L96)
0 commit comments