Skip to content

Adding a Dependency

Sameer Singh edited this page Apr 19, 2015 · 1 revision

If you want to use a particular class (my.package.Class) directly in a Moro cell, but it is not accessible and giving a Cannot find package my.package... error, you have to do the following:

  1. Add the dependency containing the my.package.Class class to build.sbt.
  2. In your conf/application.conf (or globally in conf/reference.conf), add my.package.Class to classesForJarPath.
  3. (Optional) If you want Class to be available directly in each cell, add my.package.Class to imports in conf/application.conf (or conf/reference.conf).

Note that you only have to do this once per dependency.

Clone this wiki locally