Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
Refactoring the build file.
Browse files Browse the repository at this point in the history
  • Loading branch information
atooni committed Jan 7, 2015
1 parent 75a2676 commit 86d29c3
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion project/CastilloBuild.scala
Expand Up @@ -5,18 +5,30 @@ import Keys._

object CastilloBuild extends Build with UniversalKeys {

val appName = "castillo"

/**
* Define the root project as a Play application.
* Define the root project as an aggregation of the subprojects.
*/

lazy val root =
project.in(file("."))
.settings(commonSettings:_*)
.aggregate(server)

/**
* Define the server project as a Play application.
*/
lazy val server =
project.in(file("server"))
.settings(serverSettings:_*)
.enablePlugins(PlayScala)

/**
* The settings for the server module
*/
lazy val serverSettings = commonSettings ++ Seq(
name := s"$appName-server",
libraryDependencies ++= Dependencies.serverDeps
)

Expand Down

0 comments on commit 86d29c3

Please sign in to comment.