Merge pull request #6 from jordoncodes/patch-1
Add Gradle Kotlin DSL and Maven dependencies to readme
This commit is contained in:
commit
7dd33da56b
1 changed files with 22 additions and 0 deletions
22
README.md
22
README.md
|
@ -3,6 +3,7 @@ EntityLib is a PacketEvents addon that provides an abstraction over raw entity d
|
||||||
Currently, EntityLib is only stable for 1.18+, but it will support all versions that PacketEvents supports in the future. <br>
|
Currently, EntityLib is only stable for 1.18+, but it will support all versions that PacketEvents supports in the future. <br>
|
||||||
For general support and reports of bugs, join the [Discord](https://discord.gg/jawR25hrSK) server.
|
For general support and reports of bugs, join the [Discord](https://discord.gg/jawR25hrSK) server.
|
||||||
|
|
||||||
|
Gradle (Groovy DSL):
|
||||||
```groovy
|
```groovy
|
||||||
//https://jitpack.io/#Tofaa2/EntityLib/
|
//https://jitpack.io/#Tofaa2/EntityLib/
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -13,6 +14,27 @@ dependencies {
|
||||||
implementation 'com.github.Tofaa2.EntityLib:<platform>:<latest-release-version'
|
implementation 'com.github.Tofaa2.EntityLib:<platform>:<latest-release-version'
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Gradle (Kotlin DSL):
|
||||||
|
```kotlin
|
||||||
|
repositories {
|
||||||
|
maven(url = "https://jitpack.io")
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation("com.github.Tofaa2.EntityLib:<platform>:<latest-release-version>")
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Maven:
|
||||||
|
```xml
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.github.Tofaa2.EntityLib</groupId>
|
||||||
|
<artifactId>(platform)</artifactId>
|
||||||
|
<version>(latest-release-version)</version>
|
||||||
|
</dependency>
|
||||||
|
```
|
||||||
|
|
||||||
## NOTE:
|
## NOTE:
|
||||||
EntityLib does not provide packet-events as a dependency, you must have it in your classpath already. EntityLib will also stay at the latest packet-events version at all times
|
EntityLib does not provide packet-events as a dependency, you must have it in your classpath already. EntityLib will also stay at the latest packet-events version at all times
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue