Skip to content

Commit

Permalink
Update README.md to suggest using jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius Metzger authored Mar 22, 2017
1 parent 0d7ab85 commit 78b17d8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,15 @@ As the `PacketGate` library is in no public maven repository yet, this is the be
`PacketGate` as a dependency as of now.

## Installation
To use `PacketGate` in one of your plugins, use ForgeGradle and add the local maven repo to the `dependencies` tag
in your `build.gradle` (outside of the buildscript) and add `PacketGate` as a compile-time dependency.

To use `PacketGate` in one of your plugins, you need to use ForgeGradle and add `PacketGate` as a compile-time dependency.
We suggest using [jitpack.io](https://jitpack.io) to depend on `PacketGate` like so:
```gradle
repositories {
mavenLocal()
maven { url 'https://jitpack.io' }
}
dependencies {
// [...]
compile 'org.spongepowered:spongeapi:5.1.0'
compile 'com.github.CrushedPixel:PacketGate:0.1'
}
```

Expand Down

0 comments on commit 78b17d8

Please sign in to comment.