java - should play 2 xx App have both build.sbt and build.scala -


I am trying to go through a tutorial that was made properly using play 1xx but I I am using play.2.3.5. The old project has been created in the project / folder. The new game 2.3.5 is the only build.sbt in the root of the project. When I try to create a new file build.scale in the project subdirectory, I get errors. The question is how to create a file for creating my project without disturbing the build of the old project's build. Be successful.

build.scala -

Val App Dependency = Sik (JavaCor, JavaEdbc, Java Eben, "ISBL"% "MySQL-Connector-Java"% "5.1. 18 ")

This is the setting in my build.bbt -

build.sbt -

name: =" "wefarm "" "

version: =" 1.0-SNAPSHOT "

idle val root = (file (". "). EnablePlugins (PlayJava)

ScalaVersion: = "2.11.1"

LibraryDependensis ++ = Sik (JavaEdbC, Java Eben, Cache, JavaWise)

Thank you very much.

< / Div>

Just move that dependency to Library Code of Liberty seq build.sbt and you're ready to go

It is still possible (and sometimes good) for both .sb is T and project / *. Scala build configuration Read the SBT Docs for details about .sb T vs. .scala build definitions:


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -