Hi, I'm trying to include and use the WireMock Tes...
# wiremock-java
b
Hi, I'm trying to include and use the WireMock TestContainers Java module in a gradle project, but I don't seem to be able to make Gradle download it. I've added it as
testImplementation 'org.wiremock.integrations.testcontainers:wiremock-testcontainers-module:1.0-alpha-5'
but I'm not sure if this is correct, if the module is available at all to use it like this, or I need more configuration. I must be missing some crucial information about the Java module, so forgive me if I'm asking something very trivial. ­čÖé
o
Hello. Did you add GitHub Packages as a maven repository?
b
I haven't. Can you send me the URL of that?
I will update the docs
Please ignore the link above. Adding proper guidelines
b
Thank you.
o
Looks like there's sosme issue even with GitHub Token, but you can always use jitpack
Copy code
<dependency>
      <groupId>com.github.wiremock</groupId>
      <artifactId>wiremock-testcontainers-java</artifactId>
      <version>${wiremock-testcontainers.version}</version>
      <scope>test</scope>
    </dependency>
Copy code
<repository>
      <id><http://jitpack.io|jitpack.io></id>
      <url><https://jitpack.io></url>
    </repository>
b
Looks good.
148 Views