53fde520d5
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
35 lines
1015 B
Kotlin
35 lines
1015 B
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
projectTest {
|
|
workingDir = rootDir
|
|
}
|
|
|
|
dependencies {
|
|
api(project(":core:deserialization"))
|
|
api(project(":compiler:psi"))
|
|
api(project(":compiler:frontend.java"))
|
|
api(project(":analysis:decompiled:decompiler-to-file-stubs"))
|
|
api(project(":analysis:decompiled:decompiler-to-psi"))
|
|
api(project(":analysis:decompiled:decompiler-to-stubs"))
|
|
api(project(":js:js.serializer"))
|
|
api(project(":kotlin-util-klib-metadata"))
|
|
compileOnly(intellijCore())
|
|
|
|
testApi(platform(libs.junit.bom))
|
|
testImplementation(libs.junit4)
|
|
testCompileOnly(libs.junit.jupiter.api) // the annotations are misused and have no effect
|
|
testImplementation(projectTests(":compiler:tests-common"))
|
|
testImplementation(projectTests(":compiler:tests-common-new"))
|
|
testImplementation(projectTests(":analysis:decompiled:decompiler-to-file-stubs"))
|
|
}
|
|
|
|
testsJar()
|