Closed mkrebs81 closed 1 month ago
Added PoC with build arguments.
I have left the dependency version numbers as fixed values, because using ranges for dependencies may cause problems. Such as snapshots being used, because Gradle thinks the snapshot is newer than the the production release...
will investigate further, until then keep fixed version.
@ergo-furrer I found a passable solution to use SNAPSHOT dependencies, and I also improved the dependency management of the published libraries.
When using this solution, you only need to explicitly imprt the sgr-commhandler
packages, and all other dependent packages will be included as well.
I tested it locally with my Testlab integration application.
Choose between release and snapshot dependencies
The SGrJava library has multiple dependencies on other SGr projects:
sgr-specification
sgr-driver-api
easymodbus
In general, the configured dependencies should be release versions by default.
However, it would be useful to define build arguments, so a developer can use snapshot dependencies when required.