does any one what is the right syntax to convert t...
# gradle
h
does any one what is the right syntax to convert this groovy gradle into kotlin gradle?
Copy code
task unitTest( type: Test ) {
    exclude '**/cucumber/**'
}
e
The direct equivalent would be:
Copy code
task<Test>("unitTest") {
  exclude("**/cucumber/**")
}
But you might want to register that task lazily for a faster configuration phase:
Copy code
tasks.register<Test>("unitTest") {
  exclude("**/cucumber/**")
}
h
thanks