Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 45 lines (32 sloc) 1.167 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
import sbt._

object Builds extends sbt.Build {
  import Keys._

  /** Defines common settings for all projects */
  lazy val setup = Project("setup", file("setup"))

  /** Aggregates tasks for all projects */
  lazy val root = Project(
    "dispatch-all", file("."), settings = Defaults.defaultSettings ++ Seq(
      ls.Plugin.LsKeys.skipWrite := true
    )).delegateTo(setup).aggregate(core, liftjson, jsoup, tagsoup)

  def module(name: String) =
    Project(name, file(name.replace("-", "")))
      .delegateTo(ufcheck, setup)
      .dependsOn(ufcheck % "test->test")

  lazy val core = module("core")

  lazy val liftjson = module("lift-json")
    .dependsOn(core)
    .dependsOn(core % "test->test")

  lazy val jsoup = module("jsoup")
    .dependsOn(core)
    .dependsOn(core % "test->test")

  lazy val tagsoup = module("tagsoup")
    .dependsOn(core)
    .dependsOn(core % "test->test")
    
  /** Util module for using unfiltered with scalacheck */
  lazy val ufcheck = Project(
    "ufcheck", file("ufcheck")
  ).dependsOn(scalacheck % "test->compile")

  lazy val scalacheck = RootProject(
    uri("git://github.com/n8han/scalacheck.git#2a90c81")
  )
}


Something went wrong with that request. Please try again.