Join Slack
Powered by
Is there a kotlin equivalent for creating a simple...
# gradle
j
jmfayard
09/07/2018, 1:00 PM
Is there a kotlin equivalent for creating a simple task without using the (IMHO unintuitive) doLast syntax?
Copy code
task helloworld << { println("hello world") }
e
eskatos
09/07/2018, 1:02 PM
Nope. The left shift operator (in Groovy) has even been deprecated in Gradle 3.2, see
https://docs.gradle.org/3.2/release-notes.html#the-left-shift-operator-on-the-task-interface
2
Views
Open in Slack
Previous
Next