Skip to content

Commit

Permalink
Merge pull request #1533 from pact-foundation/java-8-update-link
Browse files Browse the repository at this point in the history
docs: remove links to java8 guide
  • Loading branch information
uglyog authored Apr 11, 2022
2 parents ba271ad + 892f6c8 commit 4712d32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,11 @@ You want to look at: [pact4s](https://github.com/jbwheatley/pact4s) or [scala-pa
### I Use Java

You want to look at: [junit](consumer/junit) for JUnit 4 tests and
[junit5](consumer/junit5) for JUnit 5 tests. Also, if you are using Java 8 or above, there is [an
updated DSL for consumer tests](consumer/java8).
[junit5](consumer/junit5) for JUnit 5 tests. Also, if you are using Java 11 or above, there is [an
updated DSL for consumer tests](/consumer).

**NOTE:** If you are using Java 8, there is no separate Java 8 support library anymore, see the above library.


### I Use Groovy or Grails

Expand Down
2 changes: 1 addition & 1 deletion consumer/junit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ is verified. It is only recorded in the consumer tests and used by the provider

### Building JSON bodies with PactDslJsonBody DSL

**NOTE:** If you are using Java 8, there is [an updated DSL for consumer tests](/consumer/java8/README.md).
**NOTE:** If you are using Java 8, there is no separate Java 8 support library anymore, there is [an updated DSL for consumer tests](/consumer/) requiring a minimum of Java 11.

The body method of the ConsumerPactBuilder can accept a PactDslJsonBody, which can construct a JSON body as well as
define regex and type matchers.
Expand Down

0 comments on commit 4712d32

Please sign in to comment.