7b00323b89
Fix some reports from "Show Vulnerable Dependencies" ^KTI-1342
47 lines
1.1 KiB
Kotlin
47 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"))
|
|
implementation(project(":compiler:backend"))
|
|
compileOnly(project(":core:compiler.common"))
|
|
compileOnly(project(":core:compiler.common.jvm"))
|
|
compileOnly(project(":core:compiler.common.js"))
|
|
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(libs.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
|
|
}
|