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)
40 lines
1.1 KiB
Kotlin
40 lines
1.1 KiB
Kotlin
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
jvmTarget = "1.6"
|
|
|
|
dependencies {
|
|
compile(project(":compiler:util"))
|
|
compile(project(":compiler:cli"))
|
|
compile(project(":compiler:frontend"))
|
|
compile(project(":compiler:backend"))
|
|
compile(projectTests(":compiler:tests-common"))
|
|
compile(commonDep("junit:junit"))
|
|
compileOnly(intellijDep()) { includeJars("openapi") }
|
|
|
|
testCompile(project(":compiler:incremental-compilation-impl"))
|
|
testCompile(project(":core:descriptors"))
|
|
testCompile(project(":core:descriptors.jvm"))
|
|
testCompile(project(":compiler:frontend.java"))
|
|
testCompile(projectTests(":jps-plugin"))
|
|
testCompile(commonDep("junit:junit"))
|
|
testCompile(intellijDep()) { includeJars("openapi", "idea", "idea_rt", "groovy-all", "jps-builders", rootProject = rootProject) }
|
|
testCompile(intellijDep("jps-standalone")) { includeJars("jps-model") }
|
|
testCompile(intellijDep("jps-build-test"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
projectTest {
|
|
doFirst {
|
|
environment("kotlin.tests.android.timeout", "45")
|
|
}
|
|
workingDir = rootDir
|
|
}
|