blob: 9b4d1694cc350c7fbe375c5416be9d76cf2114db [file] [log] [blame] [edit]
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
compile(project(":plugins:uast-kotlin-fir"))
compile(project(":idea-frontend-fir"))
compile(project(":idea:idea-frontend-fir:fir-low-level-api-ide-impl"))
compile(project(":idea:formatter"))
compile(intellijDep())
compile(intellijCoreDep())
implementation(project(":idea:idea-fir-fe10-binding"))
compile(project(":plugins:uast-kotlin-idea-fir"))
compile(project(":plugins:uast-kotlin-idea-base"))
// <temp>
compile(project(":idea:idea-core"))
compile(project(":idea"))
// </temp>
testCompile(toolsJar())
testCompile(projectTests(":idea"))
testCompile(projectTests(":compiler:tests-common"))
testCompile(projectTests(":idea:idea-test-framework"))
testCompile(projectTests(":idea-frontend-fir"))
testCompile(project(":kotlin-test:kotlin-test-junit"))
testCompile(commonDep("junit:junit"))
testCompile(projectTests(":idea:idea-frontend-independent"))
testCompileOnly(intellijDep())
testRuntime(intellijDep())
testImplementation(project(":idea:idea-fir-fe10-binding"))
compile(intellijPluginDep("java"))
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }
}
projectTest(parallel = false) {
dependsOn(":dist")
workingDir = rootDir
val useFirIdeaPlugin = kotlinBuildProperties.useFirIdeaPlugin
doFirst {
if (!useFirIdeaPlugin) {
error("Test task in the module should be executed with -Pidea.fir.plugin=true")
}
}
}
testsJar()