From 52bdeab631f342b06b25a072ad24900be4067aac Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 28 Dec 2024 23:03:49 +0000 Subject: [PATCH] Update dependency org.jetbrains.kotlin:kotlin-compiler-embeddable to v2 --- .../preprocess-workflows/preprocess-workflows.gradle | 2 +- .../gradle/PreprocessWorkflowsPlugin.groovy | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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 { 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 }