Skip to content

Commit

Permalink
Suppress "unused"
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-yevsyukov committed Apr 2, 2024
1 parent 92ecdc4 commit 82d2e95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buildSrc/src/main/kotlin/DokkaExts.kt
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ fun TaskContainer.dokkaHtmlTask(): DokkaTask? = this.findByName("dokkaHtml") as
* Dokka can properly generate documentation for either Kotlin or Java depending on
* the configuration, but not both.
*/
@Suppress("unused")
internal fun GradleDokkaSourceSetBuilder.onlyJavaSources(): FileCollection {
return sourceRoots.filter(File::isJavaSourceDirectory)
}
Expand Down

0 comments on commit 82d2e95

Please sign in to comment.