Skip to content

Commit ee51e24

Browse files
francescoo22Space Team
authored andcommitted
[Gradle] Don't expose :compiler:frontend from ir.backend.common
^KT-74763
1 parent 19e2097 commit ee51e24

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

compiler/fir/fir2ir/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ dependencies {
2121
compileOnly(project(":compiler:fir:fir-deserialization"))
2222
compileOnly(project(":compiler:frontend.common.jvm"))
2323
compileOnly(project(":compiler:config.jvm"))
24+
compileOnly(project(":compiler:frontend"))
2425

2526
compileOnly(intellijCore())
2627

compiler/ir/backend.common/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ plugins {
55

66
dependencies {
77
api(project(":compiler:util"))
8-
api(project(":compiler:frontend"))
98
api(project(":compiler:backend-common"))
109
api(project(":compiler:ir.tree"))
1110
api(project(":compiler:ir.interpreter"))
1211
api(project(":compiler:ir.serialization.common"))
1312
api(project(":compiler:ir.validation"))
13+
compileOnly(project(":compiler:frontend")) // this dependency is needed because of `IrPluginContext` exposing K1 frontend as deprecated.
1414
compileOnly(intellijCore())
1515

1616
testImplementation(kotlinTest("junit"))

0 commit comments

Comments
 (0)