Skip to content

Instantly share code, notes, and snippets.

@freekh
Created August 2, 2013 21:02
Show Gist options
  • Save freekh/6143432 to your computer and use it in GitHub Desktop.
Save freekh/6143432 to your computer and use it in GitHub Desktop.
Replace the TODO with the path to the adept project and put this in the project/project/Build.scala file and it will load adept as a plugin
import sbt._
import sbt.Keys._
/** needed only till adept is released */
object PlayPlugins extends Build {
val adeptProjectPath = "TODO"
lazy val adeptSbt = ProjectRef(file(), "adept-sbt") //TODO: remove this file
lazy val root = Project(id = "play-adept-project",
base = file("."),
settings = Project.defaultSettings).dependsOn(adeptSbt)
}
@paulp
Copy link

paulp commented Aug 2, 2013

Probably you mean file(adeptProjectPath) on line 7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment