Skip to content

Commit

Permalink
Update to Kotlin 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
PHPirates committed Jul 25, 2023
1 parent 64edfba commit 0e8ba19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ fun properties(key: String) = project.findProperty(key).toString()
// Supersedes the use of "buildscript" block and "apply plugin:"
plugins {
id("org.jetbrains.intellij") version "1.15.0"
kotlin("jvm") version ("1.8.0")
kotlin("plugin.serialization") version ("1.8.0")
kotlin("jvm") version ("1.9.0")
kotlin("plugin.serialization") version ("1.9.0")

// Plugin which can check for Gradle dependencies, use the help/dependencyUpdates task.
id("com.github.ben-manes.versions") version "0.47.0"
Expand Down Expand Up @@ -270,7 +270,7 @@ tasks.jar {

// https://github.com/ben-manes/gradle-versions-plugin
fun isNonStable(version: String): Boolean {
val stableKeyword = listOf("RELEASE", "FINAL", "GA").any { version.toUpperCase().contains(it) }
val stableKeyword = listOf("RELEASE", "FINAL", "GA").any { version.uppercase().contains(it) }
val regex = "^[0-9,.v-]+(-r)?$".toRegex()
val isStable = stableKeyword || regex.matches(version)
return isStable.not()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import com.intellij.util.xmlb.XmlSerializerUtil
name = "LatexErrorTreeViewConfiguration",
storages = [Storage(StoragePathMacros.WORKSPACE_FILE)]
)

@Service(Service.Level.PROJECT)
data class LatexErrorTreeViewConfiguration(
var showKeywordWarnings: MutableMap<LatexKeywordFilter, Boolean> = LatexKeywordFilter.values().associateWith { true }.toMutableMap(),
Expand Down

0 comments on commit 0e8ba19

Please sign in to comment.