Update Kotlin, use non deprecate method

This commit is contained in:
creeper123123321 2020-12-13 17:13:50 -03:00
parent 36d3dd9a6d
commit 0b21cf356d
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ plugins {
id("com.github.ben-manes.versions") version "0.36.0"
id("com.palantir.git-version") version "0.12.3"
application
kotlin("jvm") version "1.4.20"
kotlin("jvm") version "1.4.21"
}
application {

View File

@ -280,7 +280,7 @@ class VIAaaSAddress {
} catch (e: NumberFormatException) {
val closest = ProtocolVersion.getClosest(arg.replace("_", "."))
if (closest != null) {
protocol = closest.id
protocol = closest.version
}
}
}