File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
build-logic/preprocess-workflows
src/main/groovy/org/spockframework/gradle Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ plugins {
44}
55
66dependencies {
7- implementation(' org.jetbrains.kotlin:kotlin-compiler-embeddable:1.8.20 ' )
7+ implementation(' org.jetbrains.kotlin:kotlin-compiler-embeddable:2.1.0 ' )
88}
99
1010gradlePlugin {
Original file line number Diff line number Diff line change @@ -41,11 +41,11 @@ import static org.jetbrains.kotlin.cli.jvm.compiler.EnvironmentConfigFiles.JVM_C
4141class PreprocessWorkflowsPlugin implements Plugin<Project > {
4242 void apply (Project project ) {
4343 def kotlinCompilerClasspath = project. configurations. detachedConfiguration(
44- project. dependencies. create(' org.jetbrains.kotlin:kotlin-compiler:1.8.20 ' ),
45- project. dependencies. create(' org.jetbrains.kotlin:kotlin-scripting-compiler:1.8.20 ' )
44+ project. dependencies. create(' org.jetbrains.kotlin:kotlin-compiler:2.1.0 ' ),
45+ project. dependencies. create(' org.jetbrains.kotlin:kotlin-scripting-compiler:2.1.0 ' )
4646 )
4747 def kotlinScriptClasspath = project. configurations. detachedConfiguration(
48- project. dependencies. create(' org.jetbrains.kotlin:kotlin-main-kts:1.8.20 ' ) { ModuleDependency it ->
48+ project. dependencies. create(' org.jetbrains.kotlin:kotlin-main-kts:2.1.0 ' ) { ModuleDependency it ->
4949 it. transitive = false
5050 }
5151 )
@@ -109,7 +109,7 @@ class PreprocessWorkflowsPlugin implements Plugin<Project> {
109109 .findFile(
110110 new CoreLocalVirtualFile (
111111 new CoreLocalFileSystem (),
112- workflowScript
112+ workflowScript. toPath()
113113 )
114114 )
115115 .with { it as KtFile }
You can’t perform that action at this time.
0 commit comments