Skip to content

Commit

Permalink
Use play-file-watch library (#7076)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored and gmethvin committed Mar 16, 2017
1 parent 90dd5de commit b0afb67
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 466 deletions.
7 changes: 1 addition & 6 deletions framework/build.sbt
Expand Up @@ -14,11 +14,7 @@ import sbt._
lazy val BuildLinkProject = PlayNonCrossBuiltProject("Build-Link", "build-link")
.dependsOn(PlayExceptionsProject)

lazy val RunSupportProject = PlayDevelopmentProject("Run-Support", "run-support")
.settings(libraryDependencies ++= runSupportDependencies(sbtVersion.value, scalaVersion.value))
.dependsOn(BuildLinkProject)

// extra run-support project that is only compiled against sbt scala version
// run-support project is only compiled against sbt scala version
lazy val SbtRunSupportProject = PlaySbtProject("SBT-Run-Support", "run-support")
.settings(
target := target.value / "sbt-run-support",
Expand Down Expand Up @@ -294,7 +290,6 @@ lazy val publishedProjects = Seq[ProjectReference](
PlayAhcWsProject,
PlayOpenIdProject,
SbtRunSupportProject,
RunSupportProject,
SbtPluginProject,
PlaySpecs2Project,
PlayTestProject,
Expand Down
1 change: 1 addition & 0 deletions framework/project/Dependencies.scala
Expand Up @@ -168,6 +168,7 @@ object Dependencies {

def runSupportDependencies(sbtVersion: String, scalaVersion: String) = Seq(
sbtIO(sbtVersion, scalaVersion),
"com.lightbend.play" %% "play-file-watch" % "1.0.0",
"com.typesafe.play" %% "twirl-compiler" % BuildInfo.sbtTwirlVersion,
logback % Test
) ++ specsBuild.map(_ % Test)
Expand Down

0 comments on commit b0afb67

Please sign in to comment.