Skip to main content

Gradle Tutorials

This section provides sets of step by step instructions for starting basic Gateway-scoped sub-systems. The SDK examples listed in this section will focus on Gradle as a project builder instead of Maven.

It is recommended to install the IDE IntelliJ for both this guide and when following along with the various instructions provided below. The free version, IntelliJ IDEA Community can be downloaded through the following link:

https://www.jetbrains.com/idea/download

All Gradle examples rely on the Ignition Module Tools template provided by Inductive Automation’s GitHub repository:

https://github.com/inductiveautomation/ignition-module-tools

They also require the Gradle build system to be installed. This installation process is summarized in the following Inductive University Module Development course:

https://www.inductiveuniversity.com/courses/elective-studies/module-development-with-the-ignition-sdk

If you already have the Ignition Module Tools installed on your local machine, skip to the last video, Creating a New Module (Gradle). This video will detail important Gradle commands, debugging configurations applied to the code template, and the simple workflow of compiling and installing your custom .modl file:

https://www.inductiveuniversity.com/video/creating-a-new-module-gradle

note

At the time of these additions, Java 17 was the new standard for Ignition products while previous SDK examples were implemented using Java 11. Ensure you are using Java 17 when following the steps in this guide.

Finally, make sure you understand the relationship between Gradle's Multi-Project build structure and the default module hooks that exist within an Ignition module.