Build: Use fake ideaHome for tests with intellij build number only
#KTI-82
This commit is contained in:
committed by
teamcity
parent
516e54a434
commit
944c7990a1
@@ -62,15 +62,14 @@ projectTest {
|
||||
workingDir = rootDir
|
||||
useAndroidJar()
|
||||
|
||||
val androidPluginPath = File(intellijRootDir(), "plugins/android/lib").canonicalPath
|
||||
systemProperty("ideaSdk.androidPlugin.path", androidPluginPath)
|
||||
|
||||
val androidExtensionsRuntimeProvider = project.provider {
|
||||
androidExtensionsRuntimeForTests.asPath
|
||||
}
|
||||
|
||||
val robolectricClasspathProvider = project.provider {
|
||||
robolectricClasspath.asPath
|
||||
}
|
||||
|
||||
doFirst {
|
||||
systemProperty("androidExtensionsRuntime.classpath", androidExtensionsRuntimeProvider.get())
|
||||
systemProperty("robolectric.classpath", robolectricClasspathProvider.get())
|
||||
|
||||
Reference in New Issue
Block a user