Add ability to generate dokka docs
This commit is contained in:
4
jvm/Module.md
Normal file
4
jvm/Module.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Module bdk-jvm
|
||||
The [bitcoindevkit](https://bitcoindevkit.org/) language bindings library for the JVM. Current version: `0.4.0`.
|
||||
|
||||
# Package org.bitcoindevkit
|
||||
@@ -6,6 +6,7 @@ plugins {
|
||||
id("java-library")
|
||||
id("maven-publish")
|
||||
id("signing")
|
||||
id("org.jetbrains.dokka") version "1.6.10"
|
||||
}
|
||||
|
||||
java {
|
||||
@@ -90,3 +91,12 @@ signing {
|
||||
useGpgCmd()
|
||||
sign(publishing.publications)
|
||||
}
|
||||
|
||||
tasks.withType<org.jetbrains.dokka.gradle.DokkaTask>().configureEach {
|
||||
dokkaSourceSets {
|
||||
named("main") {
|
||||
moduleName.set("bdk-jvm")
|
||||
includes.from("Module.md")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user