Skip to content

Commit

Permalink
Some dokka info
Browse files Browse the repository at this point in the history
  • Loading branch information
mani1232 committed Oct 24, 2024
1 parent 4c5e8a8 commit 0c5808d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.gradle.parallel=true
kotlin.code.style=official
nextPlannedApiVersion=0.0.2
isRelease=false
isRelease=false
org.jetbrains.dokka.experimental.gradle.pluginMode=V2EnabledWithHelpers
17 changes: 17 additions & 0 deletions kpaypal-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,23 @@ kotlin {
}
}

dokka {
moduleName.set("KPayPal")
dokkaSourceSets.named("commonMain") {
includes.from("README.md")
sourceLink {
localDirectory.set(file("src/main/kotlin"))
remoteUrl("https://kpaypal.worldmandia.cc")
remoteLineSuffix.set("#L")
}
}
pluginsConfiguration.html {
customStyleSheets.from("styles.css")
customAssets.from("logo.png")
footerMessage.set("(c) WorldMandia")
}
}

publishing {
repositories {
maven {
Expand Down

0 comments on commit 0c5808d

Please sign in to comment.