Bump checked Kotlin version to 2.0.0
This commit is contained in:
parent
bc3492bae3
commit
0f1c1f1653
@ -79,8 +79,8 @@ public final class OverdriveThatMatters {
|
||||
}
|
||||
|
||||
private static void checkIfKotlinIsInstalled() {
|
||||
if (!KotlinVersion.CURRENT.isAtLeast(1, 9, 0)) {
|
||||
throw new UnsupportedClassVersionError("Installed kotlin version is " + KotlinVersion.CURRENT + ", when at least 1.9.0 is required.");
|
||||
if (!KotlinVersion.CURRENT.isAtLeast(2, 0, 0)) {
|
||||
throw new UnsupportedClassVersionError("Installed kotlin version is " + KotlinVersion.CURRENT + ", when at least 2.0.0 is required.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user