[FIR] Introduce builders API for generating declarations in compiler plugins

^KT-53096 Fixed
This commit is contained in:
Dmitriy Novozhilov
2022-12-21 23:15:16 +02:00
committed by Space Team
parent 6783621eb0
commit 185e57e601
9 changed files with 964 additions and 0 deletions
@@ -0,0 +1,25 @@
plugins {
kotlin("jvm")
id("jps-compatible")
}
kotlin {
explicitApiWarning()
}
dependencies {
api(project(":core:compiler.common"))
api(project(":compiler:resolution.common"))
api(project(":compiler:fir:cones"))
api(project(":compiler:fir:tree"))
api(project(":compiler:fir:providers"))
api(project(":compiler:fir:semantics"))
implementation(project(":core:util.runtime"))
compileOnly(commonDependency("com.google.guava:guava"))
}
sourceSets {
"main" { projectDefault() }
"test" { none() }
}