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:

 My Attempt to learn AI  GPT Generative Pretrained Transformer Created by Google in 2017 with the publication of the paper "Attention ...

Popular in last 30 days