Bump checked Kotlin version to 2.0.0

This commit is contained in:
DBotThePony 2024-10-02 10:44:23 +07:00
parent bc3492bae3
commit 0f1c1f1653
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -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.");
}
}