Skip to content

How to create izpack installer with gradle

Asterios Raptis edited this page Oct 13, 2022 · 21 revisions

Overview

Since version 6 all the build.gradle file is splitted in several section gradle files. One of them is the 'izpack.gradle' file.

Before you create the izpack installer file you have to to set the property 'createIzPackInstaller' to true and than execute the clean and the build task process with gradle.

This will automatically the signed installation jar file in the projects build directory(mystic-crypt-ui/build/distributions). The generated signed installation jar file can now be deployed for installation to any OS.

Trouble shooting

If no installation jar file is generated, see if the property 'createIzPackInstaller' is set to true

If the following error comes

Execution failed for task ':jar'.
> Could not get unknown property 'release.mystic-crypt.key.alias' for root project 'mystic-crypt-ui' of type org.gradle.api.Project.

This error means that the property 'release.mystic-crypt.key.alias' for the keystore is not set.