Created
August 29, 2012 21:46
-
-
Save mbseid/3519352 to your computer and use it in GitHub Desktop.
ApplicationBuild.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sbt._ | |
import Keys._ | |
import PlayProject._ | |
object ApplicationBuild extends Build { | |
val appName = "website" | |
val appVersion = "1.2" | |
val common = PlayProject( | |
appName + "-model", appVersion, path = file("modules/module") | |
) | |
val website = PlayProject( | |
appName + "-website", appVersion, path = file("modules/website") | |
).dependsOn(common) | |
val adminArea = PlayProject( | |
appName + "-admin", appVersion, path = file("modules/admin") | |
).dependsOn(common) | |
val api = PlayProject( | |
appName + "-api", appVersion, path = file("modules/api") | |
).dependsOn(common) | |
val main = PlayProject( | |
appName, appVersion | |
).dependsOn( | |
website, adminArea, api | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment