blob: e801f2d45810e9d37c618f356e8202c272b423a6 [file] [log] [blame] [edit]
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
testApi(kotlinStdlib("jdk8"))
testApi(project(":kotlin-scripting-compiler"))
testApi(project(":core:descriptors"))
testApi(project(":core:descriptors.jvm"))
testApi(project(":core:deserialization"))
testApi(project(":compiler:util"))
testApi(project(":compiler:tests-mutes"))
testApi(project(":compiler:backend"))
testApi(project(":compiler:ir.tree"))
testApi(project(":compiler:fir:tree"))
testApi(project(":compiler:fir:raw-fir:psi2fir"))
testApi(project(":compiler:fir:raw-fir:light-tree2fir"))
testApi(project(":compiler:fir:fir2ir"))
testApi(project(":compiler:fir:fir2ir:jvm-backend"))
testApi(project(":compiler:fir:fir-serialization"))
testApi(project(":compiler:fir:fir-deserialization"))
testApi(project(":compiler:fir:cones"))
testApi(project(":compiler:fir:resolve"))
testApi(project(":compiler:fir:providers"))
testApi(project(":compiler:fir:semantics"))
testApi(project(":compiler:fir:checkers"))
testApi(project(":compiler:fir:checkers:checkers.jvm"))
testApi(project(":compiler:fir:checkers:checkers.js"))
testApi(project(":compiler:fir:checkers:checkers.native"))
testApi(project(":compiler:fir:java"))
testApi(project(":compiler:fir:entrypoint"))
testApi(project(":compiler:ir.ir2cfg"))
testApi(project(":compiler:frontend"))
testApi(project(":compiler:frontend.java"))
testApi(project(":compiler:util"))
testApi(project(":compiler:cli-common"))
testApi(project(":compiler:cli"))
testApi(project(":compiler:cli-js"))
testApi(project(":analysis:light-classes-base"))
testApi(project(":compiler:serialization"))
testApi(project(":kotlin-preloader"))
testApi(project(":compiler:cli-common"))
testApi(project(":daemon-common"))
testApi(project(":js:js.serializer"))
testApi(project(":js:js.frontend"))
testApi(project(":js:js.translator"))
testApi(project(":native:frontend.native"))
testCompileOnly(project(":plugins:android-extensions-compiler"))
testApi(projectTests(":generators:test-generator"))
testApi(projectTests(":compiler:tests-compiler-utils"))
testApi(project(":kotlin-test:kotlin-test-jvm"))
testApi(project(":kotlin-scripting-compiler-impl"))
testApi(projectTests(":compiler:test-infrastructure-utils"))
testApi(commonDependency("junit:junit"))
testApi(commonDependency("com.android.tools:r8"))
testApi(project(":analysis:analysis-internal-utils"))
testCompileOnly(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
testCompileOnly(toolsJar())
testCompileOnly(intellijCore())
/*
* Actually those dependencies are needed only at runtime, but they
* declared as Api dependencies to propagate them to all modules
* which depend on current one
*/
testApi(commonDependency("org.jetbrains.intellij.deps.fastutil:intellij-deps-fastutil"))
testApi(commonDependency("org.jetbrains.intellij.deps.jna:jna"))
testApi(commonDependency("one.util:streamex"))
testApi(commonDependency("org.codehaus.woodstox:stax2-api"))
testApi(commonDependency("com.fasterxml:aalto-xml"))
testApi(jpsModel()) { isTransitive = false }
testApi(jpsModelImpl()) { isTransitive = false }
testApi(intellijJavaRt())
testImplementation(commonDependency("com.google.guava:guava"))
testImplementation(commonDependency("org.jetbrains.intellij.deps:trove4j"))
testImplementation(commonDependency("org.jetbrains.intellij.deps:asm-all"))
testImplementation(commonDependency("org.jetbrains.intellij.deps:log4j"))
testImplementation(commonDependency("org.jetbrains.intellij.deps:jdom"))
testApiJUnit5()
}
optInToExperimentalCompilerApi()
sourceSets {
"main" { }
"test" { projectDefault() }
}
testsJar {}