Hi, I need to migrate the following Gradle snippet...
# gradle
s
Hi, I need to migrate the following Gradle snippet to Kotlin DSL. How do I do that ? Is there any doc I should read?
Copy code
jar {
excludes = ["application*.yaml"]
}
Currently I found a way but it looks a bit awkward to me:
Copy code
tasks {
    "jar"(Jar::class) {
        excludes.add("application*.yaml")
    }
}
g
It's true. There are some plans to generate stsatic accessors for existing tasks.