File tree Expand file tree Collapse file tree 1 file changed +45
-16
lines changed
Expand file tree Collapse file tree 1 file changed +45
-16
lines changed Original file line number Diff line number Diff line change 33If you like to live on the bleeding edge, [ jitpack.io] ( https://jitpack.io ) can be used to obtain SNAPSHOT versions.
44Use the following dependency description instead:
55
6- ``` xml
7- <dependency >
8- <groupId >com.github.testcontainers.testcontainers-java</groupId >
9- <artifactId >--artifact name--</artifactId >
10- <version >-SNAPSHOT</version >
11- </dependency >
12- ```
6+ === "Gradle"
7+ ```groovy
8+ testImplementation "com.github.testcontainers.testcontainers-java:--artifact name--: master-SNAPSHOT "
9+ ```
10+ === "Maven"
11+ ```xml
12+ <dependency >
13+ <groupId >com.github.testcontainers.testcontainers-java</groupId >
14+ <artifactId >--artifact name--</artifactId >
15+ <version >master-SNAPSHOT</version >
16+ </dependency >
17+ ```
1318
14- A specific git revision (such as ` 093a3a4628 ` ) can be used as a fixed version instead. The JitPack maven repository must also be declared, e.g.:
19+ A specific git revision (such as ` 02782d9 ` ) can be used as a fixed version instead:
1520
16- ``` xml
17- <repositories >
18- <repository >
19- <id >jitpack.io</id >
20- <url >https://jitpack.io</url >
21- </repository >
22- </repositories >
23- ```
21+ === "Gradle"
22+ ```groovy
23+ testImplementation "com.github.testcontainers.testcontainers-java:--artifact name--:02782d9"
24+ ```
25+ === "Maven"
26+ ```xml
27+ <dependency >
28+ <groupId >com.github.testcontainers.testcontainers-java</groupId >
29+ <artifactId >--artifact name--</artifactId >
30+ <version >02782d9</version >
31+ </dependency >
32+ ```
2433
34+
35+ The JitPack maven repository must also be declared, e.g.:
36+
37+ === "Gradle"
38+ ```groovy
39+ repositories {
40+ maven {
41+ url "https://jitpack.io "
42+ }
43+ }
44+ ```
45+ === "Maven"
46+ ```xml
47+ <repositories >
48+ <repository >
49+ <id >jitpack.io</id >
50+ <url >https://jitpack.io </url >
51+ </repository >
52+ </repositories >
53+ ```
You can’t perform that action at this time.
0 commit comments