Re: [sbt] sbt import subproject class

7 views
Skip to first unread message

Josh Suereth

unread,
Apr 29, 2013, 12:24:41 PM4/29/13
to simple-b...@googlegroups.com
Yeah, this should work.  WHat issues are you having?


On Sat, Apr 27, 2013 at 3:01 AM, Glass Cube <zixv...@gmail.com> wrote:
how can I do something like

object ApplicationBuild extends Build {

  val appName         = "test"
  val appVersion      = "1.0-SNAPSHOT"

  val appDependencies = Seq(
    jdbc,
    anorm
  )

  val jstCompiler = Project("jst", file("modules") / "jst")

  val main = play.Project(appName, appVersion, appDependencies).settings(
    resourceGenerators in Compile <+= jst.JstCompiler
  ).dependsOn(jstCompiler).aggregate(jstCompiler)
}
 I want to access the class being in the subproject.

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-t...@googlegroups.com.
To post to this group, send email to simple-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages