I updated my pitest gradle plugin and now i get th...
# gradle
c
I updated my pitest gradle plugin and now i get this error:
Type mismatch: inferred type is List<String> but ListProperty<String!>! was expected
this is how my config looks like:
Copy code
plugins.withId("info.solidsoft.pitest") {
    configure<PitestPluginExtension> {
        jvmArgs = listOf("-Xmx512m")
        testPlugin = "junit5"
        avoidCallsTo = setOf("kotlin.jvm.internal")
        mutators = setOf("NEW_DEFAULTS")
        targetClasses = setOf("randolf.*")  //by default "${project.group}.*"
        targetTests = setOf("randolf.*")
        pitestVersion = "1.4.10"
        threads = System.getenv("PITEST_THREADS")?.toInt() ?:
                Runtime.getRuntime().availableProcessors()
        outputFormats = setOf("XML", "HTML")
    }
}
ok it seems i have to change
jvmArgs = listOf(…)
to
jvmArgs.set(listOf(…))