blob: 6b82841070ffcf57852921e39b560e3d23bec6e1 [file] [log] [blame] [edit]
plugins {
kotlin("jvm")
id("jps-compatible")
}
kotlin {
explicitApiWarning()
}
dependencies {
compileOnly(project(":kotlin-reflect-api"))
compileOnly(project(":compiler:psi"))
compileOnly(project(":compiler:frontend"))
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 {
dependsOn(":dist")
workingDir = rootDir
}