Use new path for stdlib sources jar
This commit is contained in:
@@ -46,7 +46,7 @@ public interface KotlinPaths {
|
||||
File getKotlinTestPath();
|
||||
|
||||
@NotNull
|
||||
File getRuntimeSourcesPath();
|
||||
File getStdlibSourcesPath();
|
||||
|
||||
@NotNull
|
||||
File getJsStdLibJarPath();
|
||||
|
||||
@@ -72,8 +72,8 @@ public class KotlinPathsFromHomeDir implements KotlinPaths {
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public File getRuntimeSourcesPath() {
|
||||
return getLibraryFile(PathUtil.KOTLIN_JAVA_RUNTIME_SRC_JAR);
|
||||
public File getStdlibSourcesPath() {
|
||||
return getLibraryFile(PathUtil.KOTLIN_JAVA_STDLIB_SRC_JAR);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -40,7 +40,7 @@ public class PathUtil {
|
||||
public static final String KOTLIN_JAVA_SCRIPT_RUNTIME_JAR = "kotlin-script-runtime.jar";
|
||||
public static final String KOTLIN_TEST_JAR = "kotlin-test.jar";
|
||||
public static final String KOTLIN_TEST_JS_JAR = "kotlin-test-js.jar";
|
||||
public static final String KOTLIN_JAVA_RUNTIME_SRC_JAR = "kotlin-runtime-sources.jar";
|
||||
public static final String KOTLIN_JAVA_STDLIB_SRC_JAR = "kotlin-stdlib-sources.jar";
|
||||
public static final String KOTLIN_COMPILER_JAR = "kotlin-compiler.jar";
|
||||
|
||||
public static final Pattern KOTLIN_RUNTIME_JAR_PATTERN = Pattern.compile("kotlin-(stdlib|runtime)(-\\d[\\d.]+(-.+)?)?\\.jar");
|
||||
|
||||
Reference in New Issue
Block a user