Hi trying to convert gradle groovy to kotlin scrip...
# gradle
j
Hi trying to convert gradle groovy to kotlin script
Copy code
tasks.register("uiTestCore", Test) {
    it.group("verification")
    // we don't want to cache the results of this.
    it.outputs.upToDateWhen { false }

    it.systemProperty("robot-server.port", remoteRobotPort)
}
It is failing on the systemProperties and I can’t find an example
Copy code
tasks.register<Test>("uiTestCore") {
    group = "verification" // we don't want to cache the results of this.
    outputs.upToDateWhen { false }
    systemProperties("robot-server.port", remoteRobotPort)
}
any idea?
v
Copy code
-    systemProperties("robot-server.port", remoteRobotPort)
+    systemProperty("robot-server.port", remoteRobotPort)
j
THANKS!!!
😄 1