Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions utils/config-utils/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ dependencies {

testImplementation(project(":utils:test-utils"))
}

tasks.named("javadoc") {
dependsOn("generateSupportedConfigurations")
}
Comment on lines +17 to +19
Copy link
Contributor

@bric3 bric3 Sep 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: Since it's Kotlin DSL, you can safely write : tasks.javadoc { }, behind the scene, in Kotlin DSL (not with in Groovy DSL where this call translated to tasks.getByName(...) which is eager), this will call tasks.named("javadoc").

/**
 * Provides the existing [javadoc][org.gradle.api.tasks.javadoc.Javadoc] task.
 */
val TaskContainer.`javadoc`: TaskProvider<org.gradle.api.tasks.javadoc.Javadoc>
    get() = named<org.gradle.api.tasks.javadoc.Javadoc>("javadoc")

Loading