From 24a1c2409014c92e6055fc4760fc8de6d4040f0b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 22 Jun 2024 16:37:02 +0000 Subject: [PATCH 1/2] Bump org.jetbrains.kotlin.jvm from 1.9.24 to 2.0.0 Bumps [org.jetbrains.kotlin.jvm](https://github.com/JetBrains/kotlin) from 1.9.24 to 2.0.0. - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.24...v2.0.0) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin.jvm dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" From b168125818a2ea36788a4b98ecb9aaab31afe6e2 Mon Sep 17 00:00:00 2001 From: Jeremy Mailen Date: Sat, 22 Jun 2024 11:00:55 -0700 Subject: [PATCH 2/2] adjust test --- .../gradle/kotlinter/functional/EditorConfigTest.kt | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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