Files
kotlin-fork/analysis/low-level-api-fir/build.gradle.kts
T
Dmitriy Novozhilov e933c7b6d9 [Build] Remove testApi(intellijDep()) dependencies from all modules
Since IDEA moved most of it's jars to java 11 it's illegal to use them
  in our dependencies, so all modules which use `intellijDep()` should
  carefully specify which jars they use
2021-09-30 14:41:31 +03:00

75 lines
2.1 KiB
Kotlin

plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
api(project(":compiler:psi"))
implementation(project(":analysis:project-structure"))
api(project(":compiler:fir:fir2ir"))
api(project(":compiler:fir:fir2ir:jvm-backend"))
api(project(":compiler:ir.serialization.common"))
api(project(":compiler:fir:resolve"))
api(project(":compiler:fir:checkers"))
api(project(":compiler:fir:checkers:checkers.jvm"))
api(project(":compiler:fir:java"))
api(project(":compiler:backend.common.jvm"))
testApi(project(":analysis:analysis-api-fir"))
implementation(project(":compiler:ir.psi2ir"))
implementation(project(":compiler:fir:entrypoint"))
implementation(project(":analysis:analysis-api-providers"))
api(intellijCoreDep()) { includeJars("intellij-core", "guava", rootProject = rootProject) }
testApi(projectTests(":compiler:test-infrastructure-utils"))
testApi(projectTests(":compiler:test-infrastructure"))
testApi(projectTests(":compiler:tests-common-new"))
testImplementation("org.opentest4j:opentest4j:1.2.0")
testApi(toolsJar())
testApi(projectTests(":compiler:tests-common"))
testApi(projectTests(":compiler:fir:analysis-tests:legacy-fir-tests"))
testApi(project(":kotlin-test:kotlin-test-junit"))
testApiJUnit5()
testApi(project(":kotlin-reflect"))
testImplementation(project(":analysis:symbol-light-classes"))
testApi(intellijDep()) {
includeJars(
"jps-model",
"platform-api",
"platform-impl",
"guava",
"trove4j",
"asm-all",
"log4j",
"jdom",
"streamex",
rootProject = rootProject
)
}
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }
}
projectTest(jUnit5Enabled = true) {
dependsOn(":dist")
workingDir = rootDir
useJUnitPlatform()
}
allprojects {
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
kotlinOptions {
freeCompilerArgs += "-opt-in=org.jetbrains.kotlin.fir.symbols.SymbolInternals"
}
}
}
testsJar()