From 22f46661cbf39c9df3bc5dbff82de88e2d5254eb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 29 Dec 2024 16:12:58 +0000 Subject: [PATCH 1/2] Update dependency org.jetbrains.kotlin:kotlin-compiler-embeddable to v2 --- build-logic/preprocess-workflows/preprocess-workflows.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-logic/preprocess-workflows/preprocess-workflows.gradle b/build-logic/preprocess-workflows/preprocess-workflows.gradle index 23aff703d6..f8c79aa04d 100644 --- a/build-logic/preprocess-workflows/preprocess-workflows.gradle +++ b/build-logic/preprocess-workflows/preprocess-workflows.gradle @@ -4,7 +4,7 @@ plugins { } dependencies { - implementation('org.jetbrains.kotlin:kotlin-compiler-embeddable:1.8.20') + implementation('org.jetbrains.kotlin:kotlin-compiler-embeddable:2.1.0') } gradlePlugin { From 1dc139f9f9f78ce0df3d7dfc357f59c5319c8077 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonard=20Br=C3=BCnings?= Date: Sun, 29 Dec 2024 17:30:07 +0100 Subject: [PATCH 2/2] Fix update --- .../gradle/PreprocessWorkflowsPlugin.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build-logic/preprocess-workflows/src/main/groovy/org/spockframework/gradle/PreprocessWorkflowsPlugin.groovy b/build-logic/preprocess-workflows/src/main/groovy/org/spockframework/gradle/PreprocessWorkflowsPlugin.groovy index d9136c9074..4f4429e147 100644 --- a/build-logic/preprocess-workflows/src/main/groovy/org/spockframework/gradle/PreprocessWorkflowsPlugin.groovy +++ b/build-logic/preprocess-workflows/src/main/groovy/org/spockframework/gradle/PreprocessWorkflowsPlugin.groovy @@ -41,11 +41,11 @@ import static org.jetbrains.kotlin.cli.jvm.compiler.EnvironmentConfigFiles.JVM_C class PreprocessWorkflowsPlugin implements Plugin { void apply(Project project) { def kotlinCompilerClasspath = project.configurations.detachedConfiguration( - project.dependencies.create('org.jetbrains.kotlin:kotlin-compiler:1.8.20'), - project.dependencies.create('org.jetbrains.kotlin:kotlin-scripting-compiler:1.8.20') + project.dependencies.create('org.jetbrains.kotlin:kotlin-compiler:2.1.0'), + project.dependencies.create('org.jetbrains.kotlin:kotlin-scripting-compiler:2.1.0') ) def kotlinScriptClasspath = project.configurations.detachedConfiguration( - project.dependencies.create('org.jetbrains.kotlin:kotlin-main-kts:1.8.20') { ModuleDependency it -> + project.dependencies.create('org.jetbrains.kotlin:kotlin-main-kts:2.1.0') { ModuleDependency it -> it.transitive = false } ) @@ -109,7 +109,7 @@ class PreprocessWorkflowsPlugin implements Plugin { .findFile( new CoreLocalVirtualFile( new CoreLocalFileSystem(), - workflowScript + workflowScript.toPath() ) ) .with { it as KtFile }