inductiveautomation / inductiveautomation/ignition-module-tools
"'io.ia.sdk.gradle.modl.task.Deploy' property 'targetUrl' with nested type 'java.lang.String' is not supported."
- Dominant language
- Kotlin
- Stars
- 73
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
```
gradlew deployModl
...
> Task :modules:example-module:deployModl
Execution optimizations have been disabled for task ':modules:example-module:deployModl' to ensure correctness due to the following reasons:
- In plugin 'io.ia.sdk.modl' type 'io.ia.sdk.gradle.modl.task.Deploy' property 'targetUrl' with nested type 'java.lang.String' is not supported. Reason: Type is in 'java.*' or 'javax.*' package that are reserved for standard Java API types. For more information, please refer to https://docs.gradle.org/8.5/userguide/validation_problems.html#unsupported_nested_type in the Gradle documentation.
Response code 200
Module ExampleModule.unsigned.modl was uploaded to http://localhost:8088
```
Suggested fix in `task/Deploy.kt`:
```
@get:Nested
val targetUrl: String by lazy {
"${hostGateway.get()}/$SERVLET_PATH"
}
```
could be
```
@get:Internal
val targetUrl: String by lazy {
"${hostGateway.get()}/$SERVLET_PATH"
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.