Files
kotlin-fork/analysis/analysis-api/build.gradle.kts
T
Nikita Bobko 6e637e94ca analysis-api module: drop unused :compiler:frontend dependency
Review: https://jetbrains.team/p/kt/reviews/7652

It's not only unused, this dependency is conceptually wrong because
:compiler:frontend is K1 compiler but :analysis:analysis-api supposed to
be frontend independent
2022-12-01 14:42:49 +01:00

45 lines
1.1 KiB
Kotlin

plugins {
kotlin("jvm")
id("jps-compatible")
}
kotlin {
explicitApiWarning()
}
dependencies {
implementation(kotlinxCollectionsImmutable())
compileOnly(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
compileOnly(project(":compiler:psi"))
compileOnly(project(":core:compiler.common"))
compileOnly(project(":core:compiler.common.jvm"))
implementation(project(":analysis:analysis-internal-utils"))
implementation(project(":analysis:analysis-api-providers"))
implementation(project(":analysis:kt-references"))
api(project(":analysis:project-structure"))
api(intellijCore())
api(commonDependency("org.jetbrains.intellij.deps:asm-all"))
api(commonDependency("com.google.guava:guava"))
}
kotlin {
explicitApi()
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions.freeCompilerArgs += "-Xcontext-receivers"
}
testsJar()
projectTest {
workingDir = rootDir
}