Skip to content

Commit 1dc139f

Browse files
committed
Fix update
1 parent 22f4666 commit 1dc139f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build-logic/preprocess-workflows/src/main/groovy/org/spockframework/gradle/PreprocessWorkflowsPlugin.groovy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ import static org.jetbrains.kotlin.cli.jvm.compiler.EnvironmentConfigFiles.JVM_C
4141
class 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 }

0 commit comments

Comments
 (0)