public
Last active

Proguard config for akka including akka remote (tested with akka 2.0.2)

  • Download Gist
proguard.cfg
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
-dontwarn org.jboss.netty.logging.**
-dontwarn org.osgi.**
-dontwarn javax.servlet.**
-dontwarn org.jboss.netty.channel.socket.http.**
 
## Unsafe is there at runtime
-dontwarn sun.misc.Unsafe
-keep class sun.misc.Unsafe{
*;
}
 
## Stuff referenced at runtime
-keep public class akka.actor.LocalActorRefProvider {
public <init>(...);
}
-keep public class akka.remote.RemoteActorRefProvider {
public <init>(...);
}
-keep class akka.actor.SerializedActorRef {
*;
}
-keep class akka.remote.netty.NettyRemoteTransport {
*;
}
-keep class akka.serialization.JavaSerializer {
*;
}
-keep class akka.serialization.ProtobufSerializer {
*;
}
-keep class com.google.protobuf.GeneratedMessage {
*;
}
-keep class akka.event.Logging*
-keep class akka.event.Logging$LogExt{
*;
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.