Skip to content

Commit

Permalink
Update dependency org.jetbrains.kotlin:kotlin-compiler-embeddable to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Dec 29, 2024
1 parent b8d5ff6 commit 3413de9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ import static org.jetbrains.kotlin.cli.jvm.compiler.EnvironmentConfigFiles.JVM_C
class PreprocessWorkflowsPlugin implements Plugin<Project> {
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
}
)
Expand Down Expand Up @@ -109,7 +109,7 @@ class PreprocessWorkflowsPlugin implements Plugin<Project> {
.findFile(
new CoreLocalVirtualFile(
new CoreLocalFileSystem(),
workflowScript
workflowScript.toPath()
)
)
.with { it as KtFile }
Expand Down

0 comments on commit 3413de9

Please sign in to comment.