https://kotlinlang.org logo
c

cedric

12/08/2016, 7:48 PM
Also, when chaining, I use newlines with abandon:
Copy code
tasksByPlugins[name].distinctBy {
                it.name
            }.sortedBy {
                it.name
            }.forEach { task ->
                sb.append("    ${task.name}\t\t${task.doc}\n")
            }