spring-framework/gradle/docs-dokka.gradle

31 lines
1.0 KiB
Groovy
Raw Normal View History

2020-09-13 01:41:08 +08:00
tasks.findByName("dokkaHtmlPartial")?.configure {
2021-10-14 02:04:40 +08:00
outputDirectory.set(new File(buildDir, "docs/kdoc"))
dokkaSourceSets {
configureEach {
2021-09-13 15:36:07 +08:00
sourceRoots.setFrom(file("src/main/kotlin"))
classpath.from(sourceSets["main"].runtimeClasspath)
externalDocumentationLink {
url.set(new URL("https://docs.spring.io/spring-framework/docs/current/javadoc-api/"))
}
externalDocumentationLink {
url.set(new URL("https://projectreactor.io/docs/core/release/api/"))
}
externalDocumentationLink {
url.set(new URL("https://www.reactive-streams.org/reactive-streams-1.0.3-javadoc/"))
}
externalDocumentationLink {
url.set(new URL("https://kotlin.github.io/kotlinx.coroutines/"))
}
externalDocumentationLink {
url.set(new URL("https://javadoc.io/doc/org.hamcrest/hamcrest/2.1/"))
2021-09-13 15:36:07 +08:00
}
externalDocumentationLink {
url.set(new URL("https://javadoc.io/doc/jakarta.servlet/jakarta.servlet-api/latest/"))
2021-09-13 15:36:07 +08:00
}
externalDocumentationLink {
url.set(new URL("https://javadoc.io/static/io.rsocket/rsocket-core/1.1.1/"))
}
}
2021-10-14 02:04:40 +08:00
}
2020-09-13 01:41:08 +08:00
}