inductiveautomation / ignition-module-tools

Tools that help in the creation and development of Modules for Inductive Automation's Ignition.
49 stars 12 forks source link

generated module fails to build #14

Closed PerryAJ closed 2 years ago

PerryAJ commented 3 years ago

Creating a module from the generator-cli results in a project that fails to build for two reasons:

  1. The module plugin that is applied does not specify the version.

Instead of:

plugins {
    id("io.ia.sdk.modl")
}

It should emit:

plugins {
    id("io.ia.sdk.modl") version("<some version>")
}

In addition, the module-signer fails to to resolve due to missing the repository in the settings.gradle pluginManagement. At a minimum, we should add the following:

 maven { url = uri("https://nexus.inductiveautomation.com/repository/inductiveautomation-releases/") }