Skip to content

Instantly share code, notes, and snippets.

@hhariri
Created May 29, 2013 12:18
Show Gist options
  • Save hhariri/5669867 to your computer and use it in GitHub Desktop.
Save hhariri/5669867 to your computer and use it in GitHub Desktop.
class Demo : Build {
val domain = project(dir = "domain") {}
val core = project(dir = "core") {
dependencies += listOf(Dependencies.kotlin, Dependencies.spek)
}
override fun root() = project(dir = ".") {
aggregates(core, domain)
}
}
object Dependencies : LibraryDependencyDsl {
val kotlin = "org.jetbrains" % "kotlin" % "1.0"
val spek = "org.hhariri" % "spek" % "1.0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment