How to add jars in Play Framework

How to add jars in Play Framework

Play framework make use of a build tool known as sbt.

You can list out your dependencies in build.sbt

Declaring a dependency looks like this (defining groupartifact and revision):
"net.sf.opencsv" % "opencsv" % "2.3",

If you use groupID %% artifactID % revision instead of groupID % artifactID % revision (the difference is the double %% after the groupID), sbt will add your project’s Scala version to the artifact name. 

To make sure that the libraries are available in eclipse, you need to execute the eclipse command in the play shell.

For more info refer

https://www.playframework.com/documentation/2.2.x/SBTDependencies



No comments:

Common JPA explanations

**This is just for reference only, most of the source of these infor is taken from stackoverflow.  When to use eager loading In "one si...

Popular in last 30 days