Advertisement
Guest User

Untitled

a guest
Nov 21st, 2014
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. <proguard>
  2. -injars ${dist}/${jarname}
  3. -outjars ${dist}-proguard/${jarname}
  4.  
  5. -target 5
  6.  
  7. -libraryjars '${java.home}/lib/rt.jar'
  8.  
  9. -dontobfuscate
  10. -optimizationpasses 4
  11. -overloadaggressively
  12. -repackageclasses ''
  13. -allowaccessmodification
  14.  
  15. -keep public class * {
  16. public static void main(java.lang.String[]);
  17. }
  18. </proguard>
  19.  
  20. public static Texture ring, dust, spikering, thinring, crystal, clouds;
  21.  
  22. public static void init() {
  23. Field [] fields = TexturePool.class.getDeclaredFields();
  24.  
  25. for (Field field : fields) {
  26. if(field.getType() == Texture.class) {
  27. field.set( null, /*imagine new object here*/ );
  28. }
  29. }
  30. }
  31.  
  32. -keepclassmembers public class com.package.** {
  33. public static * ;
  34. }
  35.  
  36. -optimizations !field/*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement