Make sure you have already read the walkthrough

How to add dependencies to my S4 application?

Your application typically depends on various external libraries. Here is how to configure those dependencies in an S4 project. We assume here that you are working with a sample project automatically generated through the s4 newApp script.

Dependencies on public artifacts

A good source for finding dependencies is for instance http://search.maven.org/ where you also get the syntax for gradle scripts (see grails syntax).

The application dependencies will be automatically included in the s4r archive that you create and publish.

Dependencies on non-public artifacts

You may have dependencies that are not published to maven repositories. In that case you should either:

In both cases you still have to declare them as compile-time dependencies.