Using external jars in Play framework
You have to add your dependency in the project/Build.scala
file:
val appDependencies = Seq(
"com.mortennobel" % "java-image-scaling" % "0.8.5"
)
Or you can drop your jar directly in a lib
folder of your Play app.
Then, in the Play console, regenerate the Eclipse files using the command eclipsify
or eclipse
according to your Play version (2.1.x or 2.0.x).
For Joda time, it worked because this library is already existing in the Play dependencies.
Please refer to the Play documentation for further details.
Here you find the procedure to add external jar in your project if you don't want to use dependencies: Add external Jar file to Play 2.0.4