diff --git a/build.xml b/build.xml index e772fe4ef7d..199c64c1ccb 100644 --- a/build.xml +++ b/build.xml @@ -182,6 +182,7 @@ + @@ -245,50 +246,51 @@ - + + + - -libraryjars '${rtjar}' + - -target 1.6 - -dontoptimize - -dontobfuscate + + + - # Keep application classes, along with their 'main' methods. - -keepclasseswithmembers public class * { - public static void main(java.lang.String[]); - } + + + + - -keepclasseswithmembers class * { - # Various dynamically called methods + + - void start(); - void stop(); - void dispose(); - ** getFileSystem(); - ** isVarArgs(); - ** getApplication(); - ** executeOnPooledThread(java.lang.Runnable); - int getBooleanAttributes(java.io.File); - (kotlinc.internal.com.intellij.lang.ASTNode); - } + + + + + + + + + + - # Keep the special static methods that are required in enumeration classes. - -keepclassmembers enum * { - public static **[] values(); - public static ** valueOf(java.lang.String); - } + + + + + - -keepclassmembers class * { - ** toString(); - ** hashCode(); - ** project(); + + + + - ** TYPE; - ** ourInstance; - } - ]]> + + + +