dix
04/18/2022, 5:44 PMjvmTarget
when attempting to upgrade to 1.20.0
? when I upgrade the version, now all my detekt tasks fail with Invalid value passed to --jvm-target
I've tried adding
tasks.withType(Detekt).configureEach {
jvmTarget = "1.8"
}
and that fails with Could not get unknown property 'Detekt'
eygraber
04/18/2022, 6:51 PMtoolsVersion
?dix
04/18/2022, 7:25 PMeygraber
04/18/2022, 7:50 PMdix
04/18/2022, 8:12 PMdix
04/18/2022, 8:13 PMeygraber
04/18/2022, 8:15 PMjvmTarget
to 17.
I'm not as familiar with the groovy DSL, so I don't know why you're getting that error, but you're probably heading in the right direction by trying to set jvmTarget