Humphrey
05/01/2023, 10:03 AMimplementation(platform("org.springframework.cloud:spring-cloud-dependencies:2020.0.0"))
and this dependency knows what kind of dependency of the contract is needed:
https://repo1.maven.org/maven2/org/springframework/cloud/spring-cloud-dependencies/2020.0.0/spring-cloud-dependencies-2020.0.0.pom
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-contract-dependencies</artifactId>
<version>${spring-cloud-contract.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
How do I dynamically get the version for this plugin (later when we upgrade spring-cloud-dependencies we should get also a compatible version of the contract.
The plugin: https://plugins.gradle.org/plugin/org.springframework.cloud.contract/3.0.0Humphrey
05/01/2023, 10:04 AM