Enable separate versioning for experimental incremental compilation

This commit is contained in:
Alexey Tsvetkov
2015-11-16 15:57:24 +03:00
parent d20fb5ddd7
commit 69c906014f
5 changed files with 289 additions and 112 deletions
@@ -23,7 +23,7 @@ public class IncrementalCompilation {
private static final String IS_EXPERIMENTAL_PROPERTY = "kotlin.incremental.compilation.experimental";
public static boolean isExperimental() {
return "true".equals(System.getProperty(IS_EXPERIMENTAL_PROPERTY));
return isEnabled() && "true".equals(System.getProperty(IS_EXPERIMENTAL_PROPERTY));
}
public static boolean isEnabled() {