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