Files
spring-cloud-contract/docker/spring-cloud-contract-docker/project
Spencer Gibb dffe488857 Updates to version 4.0.0-SNAPSHOT (#1747)
* Updates to version 4.0.0-SNAPSHOT

Updates to Java 17, framework 6, boot 3 and Jakarta EE

Missing support for versions of rest assured, activemq-pool & jersey-client

* Additional jdk17, spring cloud 2021, boot 3 upgrades

* Fixed invalid version

Co-authored-by: Marcin Grzejszczak <marcin@grzejszczak.pl>
Co-authored-by: Marcin Grzejszczak <mgrzejszczak@vmware.com>
2022-01-14 11:18:01 +01:00
..
2021-05-10 09:30:19 +02:00
2021-11-29 11:07:36 +01:00
2021-11-16 22:59:15 +01:00
2020-08-07 17:16:38 +02:00
2021-11-16 22:59:15 +01:00
2021-05-05 13:15:47 +02:00

# Spring Cloud Contract Verifier Docker Project

## Developer tips

### Environment variables
In order to use a new environment variable inside the Gradle script, you need to add it to the `envVars` map together with a description and a default value. Otherwise, any attempt to resolve such an environment variable will lead to an exception being thrown.

If you're referencing any environment variables from inside the Java code please follow the following convention.

```java
/**
 * Some description.
 **/
@Value("${ENV_VAR_NAME:defaultValue}")
String envVar;
```

If you provide Javadocs, we will automatically parse any `@Value` annotated fields and build a table of environment variables with description and default values.

### Customizing the gradle build

You can provide a customized `gradle.build` to be run in the container by mounting your customized build file as a volume when running the container:

`docker run -v <absolute-path-of-your-custom-file>:/spring-cloud-contract/build.gradle springcloud/spring-cloud-contract:<version>`