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
// Note the "with play.PlayInternalKeys" | |
object ApplicationBuild extends Build with play.PlayInternalKeys { | |
// Project with NettyServer monkey patch | |
val monkeyPatch = Project("monkey-patch", file("monkey-patch")) | |
.settings(libraryDependencies += | |
"com.typesafe.play" % "play_2.10" % "2.2.1") | |
// Actual Play app | |
val myApp = play.Project("my-app", path = file("my-app")) | |
.dependsOn(monkeyPatch) | |
.settings( | |
// Add to playDependencyClasspath so it is accessible in | |
// the classloader used for the "run" and "start" commands | |
playDependencyClasspath += | |
(classDirectory in Compile in monkeyPatch).value | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment