mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +00:00
add proguard include file to support minimal classpaths
This commit is contained in:
parent
35160e46d8
commit
c894543806
37
vm.pro
Normal file
37
vm.pro
Normal file
@ -0,0 +1,37 @@
|
||||
# proguard include file (http://proguard.sourceforge.net)
|
||||
|
||||
# we call the values method reflectively in Enum.valueOf():
|
||||
|
||||
-keep public class * extends java.lang.Enum {
|
||||
public static *** values();
|
||||
}
|
||||
|
||||
# the VM depends on a fixed layout for the following classes:
|
||||
|
||||
-keepclassmembers class java.lang.Class { <fields>; }
|
||||
-keepclassmembers class java.lang.ClassLoader { <fields>; }
|
||||
-keepclassmembers class java.lang.SystemClassLoader { <fields>; }
|
||||
-keepclassmembers class java.lang.String { <fields>; }
|
||||
-keepclassmembers class java.lang.Thread { <fields>; }
|
||||
-keepclassmembers class java.lang.StackTraceElement { <fields>; }
|
||||
-keepclassmembers class java.lang.Throwable { <fields>; }
|
||||
-keepclassmembers class java.lang.Byte { <fields>; }
|
||||
-keepclassmembers class java.lang.Boolean { <fields>; }
|
||||
-keepclassmembers class java.lang.Short { <fields>; }
|
||||
-keepclassmembers class java.lang.Character { <fields>; }
|
||||
-keepclassmembers class java.lang.Integer { <fields>; }
|
||||
-keepclassmembers class java.lang.Long { <fields>; }
|
||||
-keepclassmembers class java.lang.Float { <fields>; }
|
||||
-keepclassmembers class java.lang.Double { <fields>; }
|
||||
-keepclassmembers class java.lang.ref.Reference { <fields>; }
|
||||
-keepclassmembers class java.lang.ref.ReferenceQueue { <fields>; }
|
||||
-keepclassmembers class java.lang.ref.WeakReference { <fields>; }
|
||||
-keepclassmembers class java.lang.ref.PhantomReference { <fields>; }
|
||||
-keepclassmembers class java.lang.reflect.Field { <fields>; }
|
||||
-keepclassmembers class java.lang.reflect.Method { <fields>; }
|
||||
|
||||
-keepnames public class java.lang.*
|
||||
|
||||
-keepclasseswithmembernames class * {
|
||||
native <methods>;
|
||||
}
|
Loading…
Reference in New Issue
Block a user