Caplin Project Templates

The Caplin Project Templates repository is a collection of template Gradle projects to get you started quickly in Caplin Platform development. Each template project includes an example application for you to extend and customise. The build process is managed by Gradle, and each project includes tasks to build, run, and package your project as a Caplin Platform Blade.

The template projects require Caplin’s Java integration libraries. You can configure Gradle to download these libraries automatically from the Caplin Software Repository, or you can configure Gradle to reference local copies of the libraries if your development environment does not have an Internet connection.

Requirements

The template projects require the following build environment:

  • Oracle Java 8 (<= 8u202), Red Hat OpenJDK 8, or Red Hat OpenJDK 11

  • Caplin Java integration libraries, available for download from the Caplin Downloads site and the Caplin Software Repository

  • [optional] Gradle-aware IDE

Using the templates

Each template includes comprehensive instructions.

The instructions and options differ between templates, but in general the process for using a template is as follows:

  1. Download or clone the latest version of Caplin Project Templates from GitHub.

  2. Choose a template to base your project on and copy its directory to your src directory

  3. Customise the template’s Gradle gradle.settings and build.gradle files.

  4. [optional] Import the project into you company’s version control system.

  5. [optional] Import the project into a Gradle-aware IDE.

  6. Write your integration code, then run the Gradle assemble task to build and package your project as a Caplin Platform Blade.

    ./gradlew assemble

See also: