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
"net.sf.opencsv" % "opencsv" % "2.3",
If you use
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
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
group
, artifact
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:
Post a Comment