How can I specify a different config file for testing in Play 2.1

前端 未结 4 1426
误落风尘
误落风尘 2021-02-02 17:06

I would like to define different database connections for multiple test environments(Production, Staging, Development). After reading the post \"How do I specify a config file w

4条回答
  •  不知归路
    2021-02-02 18:08

    javaOptions is contained within the Keys object.

    Make sure that you use the proper import in your Build.scala file:

    import Keys._
    

提交回复
热议问题