Add tests for jps plugin

This commit is contained in:
Natalia.Ukhorskaya
2012-11-27 11:41:18 +04:00
parent c21f52127c
commit 74ca357502
35 changed files with 584 additions and 1 deletions
@@ -47,6 +47,14 @@ public class PathUtil {
return new KotlinPaths(getCompilerPathForJpsPlugin());
}
@NotNull
public static KotlinPaths getKotlinPathsForJpsPluginOrJpsTests() {
if (System.getProperty("kotlin.jps.tests").equals("true")) {
return getKotlinPathsForDistDirectory();
}
return getKotlinPathsForJpsPlugin();
}
@NotNull
public static KotlinPaths getKotlinPathsForCompiler() {
if (!getPathUtilJar().isFile()) {