Play framework2.4 can not add key store value to .scala build sbt file

时光毁灭记忆、已成空白 提交于 2019-12-11 15:29:55

问题


I'am trying to upgrade to play framework 2.4 from play 2.3, but when refreshing SBT I got the following error:

build/*:resourceDirectory from build/*:privateKeystore ((project.Build).scala:10)
[error]      Did you mean build/compile:resourceDirectory

I'am using .scala file as SBT build file

play 2.3: which used to be working well

 privateKeystore := confDirectory.value / "myProject.private.jks"

play 2.4: the change that caused the error

 privateKeystore := resourceDirectory.value / "myProject.private.jks"

note that confDirectory is not found for play2.4

来源:https://stackoverflow.com/questions/56602527/play-framework2-4-can-not-add-key-store-value-to-scala-build-sbt-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!