I wish to move some of my normal SBT Scala code across to my Play Application. So my first thought was I'll just create a src directory and put it there, but it seems not working.
What is the right way to put normal Scala code into the Scala Play Application?
Adding
unmanagedSourceDirectories in Compile += baseDirectory.value / "src" / "main" / "scala"
in your build.sbt should do the trick.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With