File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #
2+
3+ Archives containing JAR files are available as [ releases] ( https://github.com/intisy/docker-java/releases ) .
4+
5+ ## Usage in private repos (faster)
6+
7+ * Maven (inside the file)
8+ ``` xml
9+ <repository >
10+ <id >github</id >
11+ <url >https://maven.pkg.github.com/intisy/docker-java</url >
12+ <snapshots ><enabled >true</enabled ></snapshots >
13+ </repository >
14+ <dependency >
15+ <groupId >io.github.intisy</groupId >
16+ <artifactId >docker-java</artifactId >
17+ <version >1.1</version >
18+ </dependency >
19+ ```
20+
21+ * Maven (inside the file)
22+ ``` xml
23+ <servers >
24+ <server >
25+ <id >github</id >
26+ <username >your-username</username >
27+ <password >your-access-token</password >
28+ </server >
29+ </servers >
30+ ```
31+
32+ * Gradle (inside the or file)
33+ ``` groovy
34+ repositories {
35+ maven {
36+ url "https://maven.pkg.github.com/intisy/docker-java"
37+ credentials {
38+ username = "<your-username>"
39+ password = "<your-access-token>"
40+ }
41+ }
42+ }
43+ dependencies {
44+ implementation 'io.github.intisy:docker-java:1.1'
45+ }
46+ ```
47+
48+ ## Usage in public repos (slower and only works in gradle but safer)
49+
50+ * Gradle (inside the or file)
51+ ``` groovy
52+ plugins {
53+ id "io.github.intisy.github-gradle" version "1.3.7"
54+ }
55+ dependencies {
56+ githubImplementation "intisy:docker-java:1.1"
57+ }
58+ ```
59+
60+ ## License
61+
62+ [ ![ Apache License 2.0] ( https://img.shields.io/badge/License-Apache_2.0-blue.svg )] ( LICENSE )
You can’t perform that action at this time.
0 commit comments