This version is still in development and is not considered stable yet. For the latest stable version, please use spring-cloud-contract 4.1.2!

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.

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.