Skip to content

Commit

Permalink
upgrade to kotlin 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aoli-al committed Aug 3, 2024
1 parent 43a6480 commit 45daa66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import java.util.regex.Pattern

plugins {
kotlin("jvm") version "1.9.22"
kotlin("jvm") version "2.0.0"
id("com.ncorti.ktfmt.gradle") version "0.17.0"
id("maven-publish")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ data class Schedule(val choices: MutableList<Choice>, val fullSchedule: Boolean)
skipFirstLine = true
continue
}
if (line.strip().isEmpty()) continue
if (line.trim().isEmpty()) continue
val parts = line.split(",")
val enabledIds = parts.subList(3, parts.size - 1).map { it.toInt() }
choices.add(
Expand Down

0 comments on commit 45daa66

Please sign in to comment.