In order to be able to build extension modules for Stock Management, it needs to be able to publish its code to Maven. Extension modules can then easily declare dependency in the gradle file to work on and build the extension jar.
example service can be looked at, however, the configuration might need some tweaks, since both Spring Boot and Gradle were bumped to newer versions since then.
I tested this by verifying if beans with given extensions were properly registered in spring context.
were successfully registered which proves that they were successfully downloaded from the maven repository