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

Commit

Permalink
Use Jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
Electroid committed Apr 27, 2019
1 parent 103b861 commit 6b2e246
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 26 deletions.
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# minecraft-api
# minecraft-api [![](https://jitpack.io/v/OvercastNetwork/minecraft-api.svg)](https://jitpack.io/#OvercastNetwork/minecraft-api)

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

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

https://github.com/OvercastNetwork/BungeeCord
```xml
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
```

https://github.com/OvercastNetwork/SportBukkit
```xml
<dependency>
<groupId>com.github.OvercastNetwork</groupId>
<artifactId>minecraft-api</artifactId>
<version>master-SNAPSHOT</version>
</dependency>
```
30 changes: 8 additions & 22 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,11 @@

<repositories>
<repository>
<id>pa-snapshots</id>
<url>https://repo.extension.ws/content/repositories/snapshots</url>
</repository>
<repository>
<id>pa-releases</id>
<url>https://repo.extension.ws/content/repositories/releases</url>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>

<distributionManagement>
<repository>
<id>pa-deployment</id>
<url>https://repo.extension.ws/content/repositories/releases</url>
</repository>
<snapshotRepository>
<id>pa-deployment</id>
<url>https://repo.extension.ws/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>

<dependencies>
<dependency>
<!-- Should match the version in SportBukkit and Bungee -->
Expand All @@ -55,9 +40,10 @@
<scope>compile</scope>
</dependency>
<dependency>
<groupId>tc.oc</groupId>
<!-- Since BungeeCord also depends on this, use a cached snapshot -->
<groupId>com.github.OvercastNetwork.BungeeCord</groupId>
<artifactId>bungeecord-chat</artifactId>
<version>1.11-SNAPSHOT</version>
<version>[1.0,)</version>
</dependency>

<!-- testing -->
Expand All @@ -68,9 +54,9 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>tc.oc</groupId>
<groupId>com.github.OvercastNetwork</groupId>
<artifactId>test-util</artifactId>
<version>1.0-SNAPSHOT</version>
<version>master-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -89,4 +75,4 @@
</plugins>
</build>

</project>
</project>

0 comments on commit 6b2e246

Please sign in to comment.