diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index d32e9f5..8975002 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -kotlin = "1.9.24" +kotlin = "2.0.0" ktlint = "1.3.0" android-tools = "7.3.1" junit = "5.10.2" diff --git a/src/test/kotlin/org/jmailen/gradle/kotlinter/functional/EditorConfigTest.kt b/src/test/kotlin/org/jmailen/gradle/kotlinter/functional/EditorConfigTest.kt index cec116b..cd3f25e 100644 --- a/src/test/kotlin/org/jmailen/gradle/kotlinter/functional/EditorConfigTest.kt +++ b/src/test/kotlin/org/jmailen/gradle/kotlinter/functional/EditorConfigTest.kt @@ -35,6 +35,12 @@ internal class EditorConfigTest : WithGradleTest.Kotlin() { id 'org.jmailen.kotlinter' } + kotlin { + js { + nodejs() + } + } + kotlinter { failBuildWhenCannotAutoFormat = true } @@ -46,6 +52,12 @@ internal class EditorConfigTest : WithGradleTest.Kotlin() { id 'org.jmailen.kotlinter' } + kotlin { + js { + nodejs() + } + } + kotlinter { ignoreFailures = true failBuildWhenCannotAutoFormat = true