This message was deleted.
# pact-jvm
s
This message was deleted.
👋 1
m
Perhaps it’s not in the specific version you have?
a
Ahh! Nice find. Let me have a look at that version.
👍 1
Well it’s interesting I have the latest 4.0.10 of everything lol
Copy code
public final fun toPact(): au.com.dius.pact.core.model.messaging.MessagePact { /* compiled code */ }

    public final fun withContent(body: au.com.dius.pact.consumer.dsl.DslPart): au.com.dius.pact.consumer.MessagePactBuilder { /* compiled code */ }

    public final fun withMetadata(metadata: kotlin.collections.Map<kotlin.String, kotlin.Any>): au.com.dius.pact.consumer.MessagePactBuilder { /* compiled code */ }
m
I don't think it's in the 4.0.x line, as per the image above you'll need the 4.1.x, 4.2.x or 4.3.x line
a
The latest on maven is 4.0.10 😕
u
The jar file name was changed
a
Yeah thanks, I noticed!
Copy code
<!-- <https://mvnrepository.com/artifact/au.com.dius.pact/consumer> -->
<dependency>
    <groupId>au.com.dius.pact</groupId>
    <artifactId>consumer</artifactId>
    <version>4.4.0-beta.2</version>
</dependency>
m
I'll make a note to update the examples that use the 4.0.x version now
❤️ 1
a
Yeah I did fork an example but didn’t noticed the DSL was 2 years out of date 😄
👍 1
m
Sorry for the confusion!
❤️ 1