Cool: ' tasks.withType<Jar> { excludes.add("...
# gradle
s
Cool: ' tasks.withType<Jar> { excludes.add("application*.yaml") }' worked 🙂
g
But you should understand that this is not 1 to 1 replacement. withType applied to all tasks with type Jar, not to particular task with name
jar