Adrian
03/31/2025, 1:24 PM// Without Kotlin DSL
project.tasks.named("helloWorld", HelloWorldTask::class.java)
// With Kotlin DSL
import org.gradle.kotlin.dsl.named
project.tasks.named<HelloWorldTask>("helloWorld")Jendrik Johannes
04/01/2025, 6:27 AMgradle.kts files, it is harder to read for non-Gradle experts.
Which is maybe not a good argument for the example you shared, but some other more "magic" Gradle things.Thomas Broyer
04/01/2025, 9:04 AMysb33r
04/08/2025, 4:19 PM