blob: 1122e5b0b11e33a29a6d3128ff3e80c8039aa22f [file] [log] [blame] [edit]
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
implementation(project(":idea:idea-frontend-fir"))
testImplementation(projectTests(":idea:idea-fir"))
testImplementation(projectTests(":idea:idea-frontend-independent"))
testImplementation(intellijDep())
testImplementation(intellijCoreDep())
testImplementation(toolsJar())
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }
}
testsJar()
projectTest {
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")
}
}
}