inductiveautomation / inductiveautomation/ignition-sdk-examples

Perspective component still built with v0.1.1 of the gradle plugin; upgrade non-trivial

Open
#119 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
222
Forks
123
PR merge metrics
No merged PRs in 30d

Description

Heya, I was using your perspective component example as inspiration for a module and found that upgrading the `io.ia.sdk.modl` plugin that you maintain results in uh, a hard-to-fix error message

```
* What went wrong:
An exception occurred applying plugin request [id: 'org.gradle.java-library']
> Failed to apply plugin 'org.gradle.java-library'.
> Could not create task ':common:collectModlDependencies'.
> Could not create task of type 'CollectModlDependencies'.
> Could not generate a decorated class for type CollectModlDependencies.
> org/gradle/api/file/SyncSpec
```

It's specifically the combination of versions past v0.1.1 (verified with 0.2.0, 0.3.0, 0.4.0 and 0.4.1) and calling the `java-library` plugin in the sub-project folders, a fact I only uncovered by chance when I tried updating an older module that didn't use the java-library plugin.

What's the intended modification here?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Perspective component example and its sub-project folders, focusing on where the java-library plugin and the io.ia.sdk.modl plugin are applied. Reproduce the failure with plugin versions after v0.1.1 and verify that the intended modification allows the example to build without the CollectModlDependencies or SyncSpec error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.