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

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