Skip to content

Commit

Permalink
Merge pull request #6 from jordoncodes/patch-1
Browse files Browse the repository at this point in the history
Add Gradle Kotlin DSL and Maven dependencies to readme
  • Loading branch information
Tofaa2 authored Mar 1, 2024
2 parents 256e043 + 3a61cc2 commit 7dd33da
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
For general support and reports of bugs, join the [Discord](https://discord.gg/jawR25hrSK) server.

Gradle (Groovy DSL):
```groovy
//https://jitpack.io/#Tofaa2/EntityLib/
repositories {
Expand All @@ -13,6 +14,27 @@ dependencies {
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:
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

Expand Down

0 comments on commit 7dd33da

Please sign in to comment.