I recently took over the maintenance of xsbt-proguard-plugin from siasia. The plugin lets you create single “fat” jars from your project, using the Proguard library.
Some of the most important changes:
- the group id of the plugin is now
org.scala-sbt; the plugin is hosted on sbt’s Ivy repository
- proguarding projects with multiple subprojects (modules) now works as expected
- supporting sbt 0.12 (only)
- updating Proguard to 4.8
To use the plugin, add to
1 2 3
resolvers += Resolver.url("sbt-plugin-snapshots", url("http://repo.scala-sbt.org/scalasbt/sbt-plugin-snapshots/"))(Resolver.ivyStylePatterns) addSbtPlugin("org.scala-sbt" % "xsbt-proguard-plugin" % "0.1.3-SNAPSHOT")
So far I only deployed a snapshot version (0.1.3-SNAPSHOT). If there won’t be any bug reports, or when the bug reports get fixed, I’ll do a release of a normal version soon.