Skip to content

Commit 52bdeab

Browse files
renovate[bot]Vampire
authored andcommitted
Update dependency org.jetbrains.kotlin:kotlin-compiler-embeddable to v2
1 parent 8a7f5a4 commit 52bdeab

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

build-logic/preprocess-workflows/preprocess-workflows.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
dependencies {
7-
implementation('org.jetbrains.kotlin:kotlin-compiler-embeddable:1.8.20')
7+
implementation('org.jetbrains.kotlin:kotlin-compiler-embeddable:2.1.0')
88
}
99

1010
gradlePlugin {

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)