Created
September 8, 2013 16:54
-
-
Save sumioturk/6486394 to your computer and use it in GitHub Desktop.
Play Framework Build.scala for maven module sub-project dependency.
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 play.Project._ | |
object ApplicationBuild extends Build { | |
val appName = "mainModule" | |
val appVersion = "1.0-SNAPSHOT" | |
val appDependencies = Seq( | |
"sub-module" % "sub-module" % "1.0-SNAPSHOT", | |
javaCore, | |
javaJdbc, | |
javaEbean | |
) | |
val core = task { | |
{ | |
import scala.sys.process._ | |
"mvn install" ! | |
} | |
} | |
lazy val main = play.Project(appName, appVersion, appDependencies).settings( | |
resolvers += "local" at "file://" + Path.userHome.absolutePath + "/.m2/repository" | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment