siasia/xsbt-proguard-plugin — Issue #11: xsbt-proguard fails to include Scala classes from sub-projects
Author: velvia
Created: 2011-12-02 18:38:58+00:00
State: open

Hi there,

I am trying to use xsbt-proguard with a project which has sub-projects (in the project/Build.scala, with dependsOn(...)). When I run it, my scala files from the sub-projects aren't included in the overall jar, like they would be if I used sbt-assembly. Do you know what's going on? If you need, I can point you at a sample project (one of my github account's projects, I think the scala test example, has a pointer at a subproject).

I am including this project like this from /project/project/Build.scala:

import sbt._

object PluginDef extends Build {
override def projects = Seq(root)
lazy val root = Project("plugins", file(".")) dependsOn(proguard)
lazy val proguard = uri("git://github.com/siasia/xsbt-proguard-plugin.git")
}

thanks,
velvia