score:0

Instead of ProGuard, I use the OneJar plugin to create executable jars with sbt-onejar. It's a lot simpler since you don't have to mess with a bunch of options like ProGuard.

score:0

I am not sure what ProguardProject provides. But I think you can try

ProguardKeys.options in Proguard ++= Seq(
  ProguardOptions.keepMain("com.you.main.class")
)

This works for me.


Related Query

More Query from same tag