Skip to content

EN 02 prerequisites

roosit edited this page Oct 21, 2026 · 3 revisions

Русский

Prerequisites

Before building a plugin, set up your environment and grab the reference project.

Tools

Tool Version Why
JDK 21 or newer Plugins compile against Java 21. Any OpenJDK build works (Temurin, Liberica, Zulu, etc.).
Gradle 8+ The build system. Install it on your machine — see Installing Gradle below.
IDE — Optional but convenient. Visual Studio Code or NetBeans with Gradle and Java 21 support will do.
Velitask Telemitri current The application the plugin will run in. Download and install it from velitask.com.

Check that Java is visible in the console:

java -version

The version must be 21 or higher.

Installing Gradle

The full official guide is at gradle.org/install. In short, by platform:

  • Windows — easiest via a package manager:
  • macOS / Linux — via SDKMAN: sdk install gradle, or brew install gradle (macOS, Homebrew).

Check the installation:

gradle -v

The Gradle version must be 8 or higher, and the JVM line must show Java 21+.

The reference project also contains a Gradle Wrapper (gradlew / gradlew.bat) that downloads the required Gradle version itself. If you prefer the wrapper, replace gradle with ./gradlew (or gradlew.bat on Windows) in all commands below.

The reference project

Don't start from an empty project — grab plugin-example. It's a minimal working plugin with one indicator, a properly configured build, a manifest, and localization. You'll reshape it for yourself afterward.

Fork the repository on GitHub and clone your fork, or clone it directly:

git clone https://github.com/velitask/plugin-example.git
cd plugin-example

Verifying the environment

Build the reference project as-is — this confirms the JDK and Gradle are set up correctly before you change anything:

gradle jar

The build should finish successfully, and a JAR file should appear in build/libs/. If something fails here, the problem is in the environment (most often the wrong Java version) and must be fixed before the next step.

Next: Build and connect the SDK.

Clone this wiki locally