Exclude proguard from build temporarily.
This commit is contained in:
@@ -182,6 +182,7 @@
|
|||||||
|
|
||||||
<zipgroupfileset dir="${basedir}/lib" includes="*.jar"/>
|
<zipgroupfileset dir="${basedir}/lib" includes="*.jar"/>
|
||||||
<zipgroupfileset dir="${basedir}/ideaSDK/core" includes="*.jar"/>
|
<zipgroupfileset dir="${basedir}/ideaSDK/core" includes="*.jar"/>
|
||||||
|
<zipgroupfileset dir="${basedir}/js/js.translator/lib" includes="*.jar"/>
|
||||||
|
|
||||||
<zap pattern="com.thoughtworks.xstream.converters.extended.ISO8601*"/>
|
<zap pattern="com.thoughtworks.xstream.converters.extended.ISO8601*"/>
|
||||||
<zap pattern="com.thoughtworks.xstream.converters.reflection.CGLIBEnhancedConverter*"/>
|
<zap pattern="com.thoughtworks.xstream.converters.reflection.CGLIBEnhancedConverter*"/>
|
||||||
@@ -245,50 +246,51 @@
|
|||||||
<available property="rtjar" value="${java.home}/../Classes/classes.jar" file="${java.home}/../Classes/classes.jar" />
|
<available property="rtjar" value="${java.home}/../Classes/classes.jar" file="${java.home}/../Classes/classes.jar" />
|
||||||
|
|
||||||
<delete file="${output}/kotlin-compiler.jar" failonerror="false"/>
|
<delete file="${output}/kotlin-compiler.jar" failonerror="false"/>
|
||||||
<proguard><![CDATA[
|
<copy file="${output}/kotlin-compiler-clean.jar" tofile="${output}/kotlin-compiler.jar"/>
|
||||||
-injars '${output}/kotlin-compiler-clean.jar'
|
<!--<proguard><![CDATA[-->
|
||||||
-outjars '${output}/kotlin-compiler.jar'
|
<!---injars '${output}/kotlin-compiler-clean.jar'-->
|
||||||
|
<!---outjars '${output}/kotlin-compiler.jar'-->
|
||||||
|
|
||||||
-libraryjars '${rtjar}'
|
<!---libraryjars '${rtjar}'-->
|
||||||
|
|
||||||
-target 1.6
|
<!---target 1.6-->
|
||||||
-dontoptimize
|
<!---dontoptimize-->
|
||||||
-dontobfuscate
|
<!---dontobfuscate-->
|
||||||
|
|
||||||
# Keep application classes, along with their 'main' methods.
|
<!--# Keep application classes, along with their 'main' methods.-->
|
||||||
-keepclasseswithmembers public class * {
|
<!---keepclasseswithmembers public class * {-->
|
||||||
public static void main(java.lang.String[]);
|
<!--public static void main(java.lang.String[]);-->
|
||||||
}
|
<!--}-->
|
||||||
|
|
||||||
-keepclasseswithmembers class * {
|
<!---keepclasseswithmembers class * {-->
|
||||||
# Various dynamically called methods
|
<!--# Various dynamically called methods-->
|
||||||
|
|
||||||
void start();
|
<!--void start();-->
|
||||||
void stop();
|
<!--void stop();-->
|
||||||
void dispose();
|
<!--void dispose();-->
|
||||||
** getFileSystem();
|
<!--** getFileSystem();-->
|
||||||
** isVarArgs();
|
<!--** isVarArgs();-->
|
||||||
** getApplication();
|
<!--** getApplication();-->
|
||||||
** executeOnPooledThread(java.lang.Runnable);
|
<!--** executeOnPooledThread(java.lang.Runnable);-->
|
||||||
int getBooleanAttributes(java.io.File);
|
<!--int getBooleanAttributes(java.io.File);-->
|
||||||
<init>(kotlinc.internal.com.intellij.lang.ASTNode);
|
<!--<init>(kotlinc.internal.com.intellij.lang.ASTNode);-->
|
||||||
}
|
<!--}-->
|
||||||
|
|
||||||
# Keep the special static methods that are required in enumeration classes.
|
<!--# Keep the special static methods that are required in enumeration classes.-->
|
||||||
-keepclassmembers enum * {
|
<!---keepclassmembers enum * {-->
|
||||||
public static **[] values();
|
<!--public static **[] values();-->
|
||||||
public static ** valueOf(java.lang.String);
|
<!--public static ** valueOf(java.lang.String);-->
|
||||||
}
|
<!--}-->
|
||||||
|
|
||||||
-keepclassmembers class * {
|
<!---keepclassmembers class * {-->
|
||||||
** toString();
|
<!--** toString();-->
|
||||||
** hashCode();
|
<!--** hashCode();-->
|
||||||
** project();
|
<!--** project();-->
|
||||||
|
|
||||||
** TYPE;
|
<!--** TYPE;-->
|
||||||
** ourInstance;
|
<!--** ourInstance;-->
|
||||||
}
|
<!--}-->
|
||||||
]]></proguard>
|
<!--]]></proguard>-->
|
||||||
<delete file="${output}/kotlin-compiler-clean.jar" />
|
<delete file="${output}/kotlin-compiler-clean.jar" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user