james_bassett
05/12/2018, 4:42 AMuseJunitPlatform()
, what am I meant to do if I call useJunitPlatform()
in a plugin (so every project gets the same Junit setup), but then want to customize the Junit config further (like adding extra tags) in my build.gradle.kts. I've found that when calling useJunitPlatform()
again in my build script, it clobbers the setup from my plugin (i.e. if I have any tags set, they get blown away by the new ones). I've had to get the options of my test task and cast to JunitPlatformOptions
and then call the functions (like includeTags()
) for it to work properly.eskatos
05/12/2018, 10:36 AMjames_bassett
05/12/2018, 11:59 PM