d5e9e87538
JS scripting uses the old IR to JS transformer. The new IR to JS transformer can not be used for JS scripting out of the box. Patching the new transformer for JS scripting is potentially dangerous and requires a lot of effort. Dropping JS scripting and the old IR to JS transformer allows to refactor and simplify JS BE codebase.
91 lines
3.6 KiB
Kotlin
91 lines
3.6 KiB
Kotlin
|
|
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: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(":daemon-common-new"))
|
|
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"))
|
|
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("one.util:streamex"))
|
|
testApi(commonDependency("net.java.dev.jna:jna"))
|
|
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 {}
|