Skip to content

Commit c434256

Browse files
committed
Set config fileusing play's dev settings
1 parent 09030fa commit c434256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Universal / javaOptions ++= Seq(
1919

2020
Test / javaOptions += "-Dconfig.file=conf/application.test.conf"
2121

22-
Runtime / javaOptions += s"-Dconfig.file=${System.getProperty("user.home")}/.gu/amiable.local.conf"
22+
PlayKeys.devSettings += "config.file" -> s"${System.getProperty("user.home")}/.gu/amiable.local.conf"
2323

2424
routesGenerator := InjectedRoutesGenerator
2525

0 commit comments

Comments
 (0)