File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 22
22
- uses : gradle/actions/setup-gradle@v3
23
23
24
24
- name : Build KDoc
25
- run : ./gradlew --no-daemon dokkaHtml
25
+ run : ./gradlew --no-daemon dokkaGenerate
26
26
27
27
- uses : actions/upload-pages-artifact@v3
28
28
with :
Original file line number Diff line number Diff line change 1
- import java.net.URL
1
+ /*
2
+ * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details.
3
+ *
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/.
7
+ *
8
+ * SPDX-License-Identifier: MPL-2.0
9
+ */
10
+
2
11
import org.jetbrains.dokka.gradle.DokkaTask
12
+ import java.net.URI
3
13
4
14
repositories {
5
15
mavenCentral()
@@ -36,7 +46,7 @@ tasks.withType<DokkaTask>().configureEach {
36
46
moduleName.set(" dav4jvm" )
37
47
sourceLink {
38
48
localDirectory.set(file(" src/main/kotlin" ))
39
- remoteUrl.set(URL (" https://github.com/bitfireAT/dav4jvm/tree/main/src/main/kotlin/" ))
49
+ remoteUrl.set(URI (" https://github.com/bitfireAT/dav4jvm/tree/main/src/main/kotlin/" ).toURL( ))
40
50
remoteLineSuffix.set(" #L" )
41
51
}
42
52
}
Original file line number Diff line number Diff line change
1
+ # Dokka
2
+ org.jetbrains.dokka.experimental.gradle.pluginMode =V2Enabled
Original file line number Diff line number Diff line change 1
1
[versions ]
2
- dokka = " 1.9.20 "
2
+ dokka = " 2.0.0 "
3
3
junit4 = " 4.13.2"
4
4
kotlin = " 2.2.0"
5
5
okhttpVersion = " 4.12.0"
You can’t perform that action at this time.
0 commit comments