| CARVIEW |
nuttycom / sbt-proguard-plugin
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
A plugin for SBT to facilitate the use of ProGuard to create single jars for SBT-managed projects. — Read more
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Mar 01 08:02:31 -0800 2010 | added posterous-sbt support [jberkel] |
| |
CHANGES | Mon Mar 01 09:53:01 -0800 2010 | update CHANGES [jberkel] |
| |
LICENSE | Fri Apr 02 10:39:11 -0700 2010 | Modified to use the GPL to comply with the ProG... [Kris Nuttycombe] |
| |
LICENSE.ext | Fri Apr 02 14:43:27 -0700 2010 | Added original copyright notice from jberkel. [Kris Nuttycombe] |
| |
README.markdown | Fri Apr 02 10:44:12 -0700 2010 | Fixed minor naming issue in README [Kris Nuttycombe] |
| |
notes/ | Thu Apr 01 10:36:55 -0700 2010 | First cut at turning the android plugin into a ... [Kris Nuttycombe] |
| |
project/ | Wed Apr 28 15:42:19 -0700 2010 | Removed posterous plugin. [Kris Nuttycombe] |
| |
src/ | Fri Apr 16 12:42:46 -0700 2010 | Fixed a bad -keep directive. [Kris Nuttycombe] |
Usage
Requires sbt
To use the plugin in a project, you just need to create project/plugins/Plugins.scala:
import sbt._
class Plugins(info: ProjectInfo) extends PluginDefinition(info) {
val proguard = "org.scala-tools.sbt" % "sbt-proguard-plugin" % "0.0.1"
}
and make the project definition in project/build/Project (for example):
import sbt._
import java.io.File
class Project(info: ProjectInfo) extends ProguardProject(info) {
}
Hacking on the plugin
If you need make modifications to the plugin itself, you can compile and install it locally (you need at least sbt 0.7.x to build it):
$ git clone git://github.com/nuttycom/sbt-proguard-plugin.git
$ cd sbt-proguard-plugin
$ sbt publish-local
License
This plugin depends upon ProGuard (https://proguard.sourceforge.net/), which is licensed under the GNU General Public License version 2.0. As such, this plugin is distributed under the same license; you are free to use and modify this work so long as any derivative work complies with the distribution terms. See LICENSE for additional information.
Credits
This code is based on work by Jan Berkel for the SBT android plugin
