Publishing Stubs as JARs

The easiest approach to publishing stubs as jars is to centralize the way stubs are kept. For example, you can keep them as jars in a Maven repository.spring-doc.cn

For both Maven and Gradle, the setup comes ready to work. However, you can customize it if you want to.

Check these URL for Maven and Gradle samples.spring-doc.cn