Skip to content

Commit faec305

Browse files
committed
Jitpack info
1 parent 8eec278 commit faec305

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,22 @@ This is the [multihash](https://github.com/multiformats/multihash) implementatio
1313
```
1414
Multihash m = Multihash.fromBase58("QmatmE9msSfkKxoffpHwNLNKgwZG8eT9Bud6YoPab52vpy");
1515
```
16+
## Dependency
17+
You can use this project by building the JAR file as specified below, or by using [JitPack](https://jitpack.io/#multihash/java-multihash/) (also supporting Gradle, SBT, etc).
18+
19+
for Maven, you can add to your POM.XML:
20+
<repositories>
21+
<repository>
22+
<id>jitpack.io</id>
23+
<url>https://jitpack.io</url>
24+
</repository>
25+
</repositories>
26+
27+
<dependency>
28+
<groupId>com.github.multiformats</groupId>
29+
<artifactId>java-multihash</artifactId>
30+
<version>v1.0.0</version>
31+
</dependency>
1632

1733
## Testing
1834

@@ -31,7 +47,7 @@ Multihash m = Multihash.fromBase58("QmatmE9msSfkKxoffpHwNLNKgwZG8eT9Bud6YoPab52v
3147
`mvn package` will build a JAR file with Maven dependency information.
3248

3349
## Releasing
34-
The version number is specified in `build.xml` and `pom.xml` and must be changed in both places in order to be accurately reflected in the JAR file manifest.
50+
The version number is specified in `build.xml` and `pom.xml` and must be changed in both places in order to be accurately reflected in the JAR file manifest. A git tag must be added in the format "vx.x.x" for JitPack to work.
3551

3652
## Maintainers
3753

0 commit comments

Comments
 (0)