Skip to content
This repository was archived by the owner on Aug 31, 2019. It is now read-only.

Commit 6b2e246

Browse files
committed
Use Jitpack
1 parent 103b861 commit 6b2e246

File tree

2 files changed

+23
-26
lines changed

2 files changed

+23
-26
lines changed

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# minecraft-api
1+
# minecraft-api [![](https://jitpack.io/v/OvercastNetwork/minecraft-api.svg)](https://jitpack.io/#OvercastNetwork/minecraft-api)
22

3-
Shared interfaces for the SportBukkit and BungeeCord (OCN fork) APIs
3+
Shared interfaces for the [SportBukkit](https://github.com/OvercastNetwork/SportBukkit) and [BungeeCord](https://github.com/OvercastNetwork/BungeeCord) (OCN fork) APIs
44

55
These interfaces can be used to write hybrid code that works with both APIs.
66
Currently, the following things are implemented, roughly speaking:
@@ -25,6 +25,17 @@ Possible future additions:
2525
* Scoreboard
2626
* Tab list
2727

28-
https://github.com/OvercastNetwork/BungeeCord
28+
```xml
29+
<repository>
30+
<id>jitpack.io</id>
31+
<url>https://jitpack.io</url>
32+
</repository>
33+
```
2934

30-
https://github.com/OvercastNetwork/SportBukkit
35+
```xml
36+
<dependency>
37+
<groupId>com.github.OvercastNetwork</groupId>
38+
<artifactId>minecraft-api</artifactId>
39+
<version>master-SNAPSHOT</version>
40+
</dependency>
41+
```

pom.xml

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,11 @@
1010

1111
<repositories>
1212
<repository>
13-
<id>pa-snapshots</id>
14-
<url>https://repo.extension.ws/content/repositories/snapshots</url>
15-
</repository>
16-
<repository>
17-
<id>pa-releases</id>
18-
<url>https://repo.extension.ws/content/repositories/releases</url>
13+
<id>jitpack.io</id>
14+
<url>https://jitpack.io</url>
1915
</repository>
2016
</repositories>
2117

22-
<distributionManagement>
23-
<repository>
24-
<id>pa-deployment</id>
25-
<url>https://repo.extension.ws/content/repositories/releases</url>
26-
</repository>
27-
<snapshotRepository>
28-
<id>pa-deployment</id>
29-
<url>https://repo.extension.ws/content/repositories/snapshots</url>
30-
</snapshotRepository>
31-
</distributionManagement>
32-
3318
<dependencies>
3419
<dependency>
3520
<!-- Should match the version in SportBukkit and Bungee -->
@@ -55,9 +40,10 @@
5540
<scope>compile</scope>
5641
</dependency>
5742
<dependency>
58-
<groupId>tc.oc</groupId>
43+
<!-- Since BungeeCord also depends on this, use a cached snapshot -->
44+
<groupId>com.github.OvercastNetwork.BungeeCord</groupId>
5945
<artifactId>bungeecord-chat</artifactId>
60-
<version>1.11-SNAPSHOT</version>
46+
<version>[1.0,)</version>
6147
</dependency>
6248

6349
<!-- testing -->
@@ -68,9 +54,9 @@
6854
<scope>test</scope>
6955
</dependency>
7056
<dependency>
71-
<groupId>tc.oc</groupId>
57+
<groupId>com.github.OvercastNetwork</groupId>
7258
<artifactId>test-util</artifactId>
73-
<version>1.0-SNAPSHOT</version>
59+
<version>master-SNAPSHOT</version>
7460
<scope>test</scope>
7561
</dependency>
7662
</dependencies>
@@ -89,4 +75,4 @@
8975
</plugins>
9076
</build>
9177

92-
</project>
78+
</project>

0 commit comments

Comments
 (0)