I'am trying to upgrade to play framework version 2.4 from version 2.3, but i have the following error:
value confDirectory is not a member of object play.PlayImport.PlayKeys
Besides,I add this import as play2.4 Migration guide mention but the error persisst
import play.sbt.PlayImport._
what is the correct import for the config directory?
It does look like the keys has been removed indeed. What if you use the resourceDirectory
instead?
lazy val appServerSettings = Seq(
loggerConfig := resourceDirectory.value / "application-logger.xml",
...
)
In Play 2.7, this key does point toward the conf
directory.