Skip to content

Commit

Permalink
Remove redundant dokkaHtml from build.gradle
Browse files Browse the repository at this point in the history
The `build.gradle` contains two `dokkaHtmlPartial` configs
where the first one is redundant and apparently is overridden
by the second one.
The second one is correct any way.

* Remove the first `dokkaHtmlPartial` definition since it is
misleading and redundant
  • Loading branch information
artembilan committed Sep 14, 2022
1 parent 4758fa2 commit 0f7b3e6
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -517,26 +517,6 @@ project('spring-integration-core') {
testImplementation 'io.micrometer:micrometer-tracing-test'
}

dokkaHtmlPartial {
outputDirectory.set(new File(buildDir, 'docs/kdoc'))
dokkaSourceSets {
main {
sourceRoots.setFrom(file('src/main/kotlin'))
classpath.from(sourceSets['main'].runtimeClasspath)
externalDocumentationLink {
url.set(new URL("https://docs.spring.io/spring-integration/docs/$version/api/"))
packageListUrl.set(file("$buildDir/api/element-list").toURI().toURL())
}
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/'))
}
}
}
}

dokkaHtmlPartial {
outputDirectory.set(new File(buildDir, 'docs/kdoc'))
dokkaSourceSets {
Expand Down

0 comments on commit 0f7b3e6

Please sign in to comment.