File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed
build-logic/src/main/kotlin Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 22 * Copyright (c) 2023-2025 Oleg Yukhnevich. Use of this source code is governed by the Apache 2.0 license.
33 */
44
5+ import ckbuild.*
6+
57plugins {
8+ kotlin(" multiplatform" )
69 id(" org.jetbrains.dokka" )
710}
811
912dokka {
13+ setupHomepageLink()
14+
1015 dokkaPublications.configureEach {
1116 // we don't suppress inherited members explicitly as without it classes like RSA.OAEP don't show functions like keyGenerator
1217 suppressInheritedMembers = false
Original file line number Diff line number Diff line change 11package ckbuild
22
3+ import org.gradle.kotlin.dsl.*
34import org.jetbrains.dokka.gradle.*
5+ import org.jetbrains.dokka.gradle.engine.plugins.*
6+
7+ fun DokkaExtension.setupHomepageLink () {
8+ pluginsConfiguration.named<DokkaHtmlPluginParameters >(" html" ) {
9+ homepageLink.set(" https://whyoleg.github.io/cryptography-kotlin" )
10+ }
11+ }
412
513fun DokkaExtension.registerKotlinxIoExternalDocumentation () {
614 dokkaSourceSets.configureEach {
Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ plugins.withType<WasmNodeJsRootPlugin> {
3434 }
3535}
3636
37+ dokka {
38+ setupHomepageLink()
39+ }
40+
3741dependencies {
3842 Projects .libraries.forEach {
3943 dokka(project(" :$it " ))
You can’t perform that action at this time.
0 commit comments