Add temporary compiler option to suppress incompatibility errors

To compile Kotlin against current IDEA libraries until they are migrated to 1.1
This commit is contained in:
Alexander Udalov
2016-01-22 19:48:42 +03:00
parent f688b1b786
commit 714df7b433
3 changed files with 6 additions and 1 deletions
@@ -70,6 +70,9 @@ public class K2JVMCompilerArguments extends CommonCompilerArguments {
@Argument(value = "Xallow-kotlin-package", description = "Allow compiling code in package 'kotlin'")
public boolean allowKotlinPackage;
@Argument(value = "Xskip-metadata-version-check", description = "Try loading binary incompatible classes, may cause crashes")
public boolean skipMetadataVersionCheck;
// Paths to output directories for friend modules.
public String[] friendPaths;