70d236cb8d
When TestLoggerFactory is initialized in tests it checks that variable
and it it's not present uses classpath to search for logger configuration.
If this search is unsuccessful a lot of exceptions are written to log:
java.lang.RuntimeException: Could not find installation home path. Please make sure bin/idea.properties is present in the installation directory.
at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:96)
at com.intellij.testFramework.TestLoggerFactory.reconfigure(TestLoggerFactory.java:67)
51 lines
1.6 KiB
Kotlin
51 lines
1.6 KiB
Kotlin
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
compile(projectDist(":kotlin-stdlib"))
|
|
compile(project(":core:util.runtime"))
|
|
compile(project(":compiler:backend"))
|
|
compile(project(":compiler:frontend"))
|
|
compile(project(":compiler:frontend.java"))
|
|
compile(project(":compiler:light-classes"))
|
|
compile(project(":idea:idea-core"))
|
|
compileOnly(intellijDep()) { includeJars("openapi", "idea", "util", "extensions", "asm-all") }
|
|
|
|
testCompile(projectDist(":kotlin-test:kotlin-test-jvm"))
|
|
testCompile(projectTests(":compiler:tests-common"))
|
|
testCompile(commonDep("junit:junit"))
|
|
testCompile(project(":compiler:util"))
|
|
testCompile(project(":compiler:cli"))
|
|
testCompile(projectTests(":idea:idea-test-framework"))
|
|
testCompileOnly(intellijDep()) { includeJars("idea_rt") }
|
|
|
|
testRuntime(projectDist(":kotlin-reflect"))
|
|
testRuntime(project(":idea:idea-android"))
|
|
testRuntime(project(":idea:idea-gradle"))
|
|
testRuntime(project(":plugins:kapt3-idea")) { isTransitive = false }
|
|
testRuntime(project(":sam-with-receiver-ide-plugin"))
|
|
testRuntime(project(":allopen-ide-plugin"))
|
|
testRuntime(project(":noarg-ide-plugin"))
|
|
testRuntime(project(":plugins:android-extensions-ide"))
|
|
testRuntime(project(":plugins:kapt3-idea"))
|
|
testRuntime(intellijDep())
|
|
testRuntime(intellijPluginDep("junit"))
|
|
testRuntime(intellijPluginDep("gradle"))
|
|
testRuntime(intellijPluginDep("Groovy"))
|
|
testRuntime(intellijPluginDep("properties"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
testsJar {}
|
|
|
|
projectTest {
|
|
workingDir = rootDir
|
|
}
|