Update build information (#409)

- Switch to 4.3.0 version
- Include Gradle information
This commit is contained in:
Mark Hughes 2017-09-28 09:19:42 +10:00 committed by Dan Mulloy
parent 01b68cf8e5
commit 7573459a48
1 changed files with 13 additions and 1 deletions

View File

@ -53,11 +53,23 @@ You can also add ProtocolLib as a Maven dependency:
<dependency>
<groupId>com.comphenix.protocol</groupId>
<artifactId>ProtocolLib</artifactId>
<version>3.6.5</version>
<version>4.3.0</version>
</dependency>
</dependencies>
````
Or use the maven dependency with gradle:
```gradle
repositories {
maven { url "http://repo.dmulloy2.net/content/groups/public/" }
}
dependencies {
compileOnly group: "com.comphenix.protocol", name: "ProtocolLib", version: "4.3.0";
}
```
Then get a reference to ProtocolManager in onLoad() or onEnable() and you're good to go.
````java