Skip to content

Instantly share code, notes, and snippets.

@bjornharrtell
Created August 9, 2012 20:58
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bjornharrtell/3307987 to your computer and use it in GitHub Desktop.
Save bjornharrtell/3307987 to your computer and use it in GitHub Desktop.
Proguard config for akka including akka remote (tested with akka 2.0.2)
-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{
*;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment