Skip to content

Commit 7b1031c

Browse files
intisygithub-actions[bot]
authored andcommitted
Auto-update README
1 parent 55e74bc commit 7b1031c

1 file changed

Lines changed: 12 additions & 47 deletions

File tree

README.md

Lines changed: 12 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,30 @@
1-
#
1+
# Docker Java
22

33
Archives containing JAR files are available as [releases](https://github.com/intisy/docker-java/releases).
44

55
## What is intisy/docker-java?
66

77
Docker-java provides a standalone Docker server for Java.
88

9-
## Usage in private repos (faster)
9+
## Example
10+
11+
12+
13+
## Usage in private projects
1014

1115
* Maven (inside the file)
12-
```xml
13-
<repository>
14-
<id>github</id>
15-
<url>https://maven.pkg.github.com/intisy/docker-java</url>
16-
<snapshots><enabled>true</enabled></snapshots>
17-
</repository>
18-
<dependency>
19-
<groupId>io.github.intisy</groupId>
20-
<artifactId>docker-java</artifactId>
21-
<version>1.1.3.1</version>
22-
</dependency>
23-
```
16+
2417

2518
* Maven (inside the file)
26-
```xml
27-
<servers>
28-
<server>
29-
<id>github</id>
30-
<username>your-username</username>
31-
<password>your-access-token</password>
32-
</server>
33-
</servers>
34-
```
19+
3520

3621
* Gradle (inside the or file)
37-
```groovy
38-
repositories {
39-
maven {
40-
url "https://maven.pkg.github.com/intisy/docker-java"
41-
credentials {
42-
username = "<your-username>"
43-
password = "<your-access-token>"
44-
}
45-
}
46-
}
47-
dependencies {
48-
implementation 'io.github.intisy:docker-java:1.1.3.1'
49-
}
50-
```
51-
52-
## Usage in public repos (slower and only works in gradle but safer)
22+
23+
24+
## Usage in public projects
5325

5426
* Gradle (inside the or file)
55-
```groovy
56-
plugins {
57-
id "io.github.intisy.github-gradle" version "1.3.7"
58-
}
59-
dependencies {
60-
githubImplementation "intisy:docker-java:1.1.3.1"
61-
}
62-
```
27+
6328

6429
## License
6530

0 commit comments

Comments
 (0)