Join Slack
Powered by
<@U7F0VKNQ0> you need to type the task and look it...
# gradle
m
mkobit
07/19/2018, 2:51 PM
@wakingrufus
you need to type the task and look it up since static accessors for tasks aren't generated currently. See
https://guides.gradle.org/migrating-build-logic-from-groovy-to-kotlin/?_ga=2.110627533.930818286.1532011693-1169330278.1495333666#configuring-tasks
Yours would look like
Copy code
tasks.getByName<Test>("test"){ useJUnitPlatform() }
w
wakingrufus
07/19/2018, 2:53 PM
perfect thank you!
3
Views
Open in Slack
Previous
Next