AllOpen: Add IDE integration
This commit is contained in:
committed by
Yan Zhulanow
parent
4d638c2cfd
commit
6abde4223b
@@ -48,6 +48,9 @@ public interface KotlinPaths {
|
||||
@NotNull
|
||||
File getJsStdLibSrcJarPath();
|
||||
|
||||
@NotNull
|
||||
File getAllOpenPluginJarPath();
|
||||
|
||||
@NotNull
|
||||
File getCompilerPath();
|
||||
|
||||
|
||||
@@ -82,6 +82,12 @@ public class KotlinPathsFromHomeDir implements KotlinPaths {
|
||||
return getLibraryFile(PathUtil.JS_LIB_SRC_JAR_NAME);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public File getAllOpenPluginJarPath() {
|
||||
return getLibraryFile(PathUtil.ALLOPEN_PLUGIN_JAR_NAME);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public File getCompilerPath() {
|
||||
|
||||
@@ -29,6 +29,7 @@ public class PathUtil {
|
||||
public static final String JPS_KOTLIN_HOME_PROPERTY = "jps.kotlin.home";
|
||||
|
||||
public static final String JS_LIB_JAR_NAME = "kotlin-jslib.jar";
|
||||
public static final String ALLOPEN_PLUGIN_JAR_NAME = "allopen-compiler-plugin.jar";
|
||||
public static final String JS_LIB_SRC_JAR_NAME = "kotlin-jslib-sources.jar";
|
||||
public static final String KOTLIN_JAVA_RUNTIME_JAR = "kotlin-runtime.jar";
|
||||
public static final String KOTLIN_JAVA_REFLECT_JAR = "kotlin-reflect.jar";
|
||||
|
||||
Reference in New Issue
Block a user