Sync generator templates toward ignition-sdk-examples (Fixes #70) - #78
Open
sankalpsthakur wants to merge 1 commit into
Open
Conversation
…eautomation#70) Bring generated module skeletons closer to the current 8.3 reference examples without breaking intentional multi-version Gradle wrapper support. - Default Ignition SDK version: 8.1.20 -> 8.3.0 - Emit gradle/libs.versions.toml (examples-style catalog) and resolve compileOnly deps via libs.ignition.* instead of string interpolation - Align settings DSL with buildscript DSL (Kotlin projects get settings.gradle.kts); fix settingsFilename() resource path bug - Add deepClean task to root buildscripts (matches examples) - Simplify Gateway/Designer hook stubs to 8.3-compatible lifecycle APIs (remove removed javax.servlet / overview contributor overrides) Left unchanged intentionally (already ahead of the issue, or multi-version): - Java toolchain remains 25 (set by inductiveautomation#75 for this tools line) - Default Gradle wrapper remains 9.3.1 (set by inductiveautomation#75) - modl plugin version remains 1.0.0 (repo version; examples still pin older) Validation: ./gradlew genTest; generated GCD kotlin + G groovy projects build successfully against published plugin from mavenLocal + SDK 8.3.0. AI disclosure: assisted by an AI coding agent; human-reviewed before PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses #70: generated module skeletons had drifted from ignition-sdk-examples (8.3 line).
This is a high-value slice, not a full rewrite of multi-version support:
sdk_version8.1.208.3.0requiredIgnitionVersiongradle/libs.versions.tomlcompileOnly(libs.ignition.*)settings.gradle.ktsdeepCleantaskjavax.servlet, removed overview contributors)io.ia.sdk.modlversionIntentional non-goals
0.1.1as listed in the issue (that is older than published0.5.0/ in-repo1.0.0).6.x/7.x); multi-version support remains.Validation
AI disclosure
This change was prepared with assistance from an AI coding agent. The author reviewed the diff, ran generator unit tests and smoke builds of generated projects against Ignition SDK 8.3.0, and is responsible for the PR contents.
Fixes #70