Fix updating libraries
Use correct order root type for updating jars; correctly find file in VFS after rename; provide logging instead of exceptions in case of failure; update library model under write action; locate stdlib sources under the old name #KT-17334 Fixed
This commit is contained in:
@@ -41,6 +41,7 @@ public class PathUtil {
|
||||
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_STDLIB_SRC_JAR = "kotlin-stdlib-sources.jar";
|
||||
public static final String KOTLIN_JAVA_STDLIB_SRC_JAR_OLD = "kotlin-runtime-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