And fix a bug while doing this!
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
- id 'org.jetbrains.kotlin.jvm' version '1.4.32'
- id 'org.jetbrains.kotlin.plugin.noarg' version '1.4.32'
+ id 'org.jetbrains.kotlin.jvm' version '1.7.10'
+ id 'org.jetbrains.kotlin.plugin.noarg' version '1.7.10'
id 'info.solidsoft.pitest' version '1.7.4'
id 'jacoco'
}
else
LinkType.values()
.mapNotNull { it.findNext(remainder.second) }
- .minBy { it.position }
+ .minByOrNull { it.position }
.let {
when {
it == null -> PlainTextPart(remainder.second) to ""