How do I convert this gradle groovy snippet to gradle kotlin dsl without being very verbose?
test {
systemProperties System.getProperties()
}
I ended up with this...
tasks.named<Test>("test") {
systemProperties System.getProperties() as Map<String, Any>
}