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