Skip to content

Commit 0863a5d

Browse files
authored
Add copyright footer (#36)
1 parent 54de371 commit 0863a5d

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

build-logic/src/main/kotlin/dokka.gradle.kts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import org.jetbrains.dokka.gradle.DokkaExtension
1717
import org.jetbrains.dokka.gradle.engine.parameters.VisibilityModifier
1818
import java.net.URI
19+
import java.time.LocalDate
1920

2021
plugins {
2122
id("org.jetbrains.dokka")
@@ -32,8 +33,10 @@ extensions.configure<DokkaExtension> {
3233
includes.from("README.md")
3334
enableKotlinStdLibDocumentationLink.set(false)
3435

35-
externalDocumentationLinks.create("error") {
36-
url.set(URI("https://error.kotlincrypto.org/"))
36+
externalDocumentationLinks {
37+
register(project.path + ":error") {
38+
url.set(URI("https://error.kotlincrypto.org/"))
39+
}
3740
}
3841

3942
sourceLink {
@@ -46,4 +49,8 @@ extensions.configure<DokkaExtension> {
4649
VisibilityModifier.Public,
4750
)
4851
}
52+
53+
pluginsConfiguration.html {
54+
footerMessage.set("© 2025-${LocalDate.now().year} Copyright KotlinCrypto")
55+
}
4956
}

0 commit comments

Comments
 (0)