Files
kotlin-fork/analysis/decompiled/decompiler-to-psi/build.gradle.kts
T
Alexander.Likhachev 53fde520d5 [Build] Add jUnit dependencies in testApiJUnit5 to the implementation configuration
Adding these dependencies to the `api` configuration pollutes classpath for each dependant modules even if it doesn't need them. Instead, the dependencies should be declared more granularly if they're required
#KTI-1349 In Progress
2023-09-06 22:47:34 +00:00

34 lines
1.1 KiB
Kotlin

plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
implementation(project(":compiler:psi"))
implementation(project(":compiler:frontend.java"))
implementation(project(":core:compiler.common"))
implementation(project(":analysis:light-classes-base"))
implementation(project(":analysis:decompiled:decompiler-to-stubs"))
implementation(project(":analysis:decompiled:decompiler-to-file-stubs"))
implementation(project(":kotlin-util-klib-metadata"))
implementation(project(":js:js.serializer"))
implementation(project(":kotlin-util-klib-metadata"))
implementation(intellijCore())
testImplementation(projectTests(":compiler:tests-common"))
testImplementation(projectTests(":compiler:tests-common-new"))
testImplementation(projectTests(":analysis:decompiled:decompiler-to-file-stubs"))
testImplementation(libs.junit.jupyter.api)
testRuntimeOnly(libs.junit.jupyter.engine)
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }
}
projectTest(jUnitMode = JUnitMode.JUnit5) {
workingDir = rootDir
}
testsJar()