Skip to content

Commit

Permalink
Update dependency instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mdcfe authored Apr 9, 2020
1 parent ce602d0 commit 492f31b
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions Common-Issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ Under `repositories` in your `pom.xml`, you need to add a new `repository` for t
<id>ess-repo</id>
<url>https://ci.ender.zone/plugin/repository/everything/</url>
</repository>
<repository>
<id>paper-repo</id>
<url>https://papermc.io/repo/repository/maven-public/</url>
</repository>
</repositories>
```

Expand All @@ -87,7 +91,7 @@ Next, add EssentialsX as a `dependency` under `dependencies`:
<dependency>
<groupId>net.ess3</groupId>
<artifactId>EssentialsX</artifactId>
<version>2.16.1</version>
<version>2.17.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -102,17 +106,22 @@ First, add the repository to your `build.gradle`:
```groovy
repositories {
maven {
name "essentialsx"
url "https://ci.ender.zone/plugin/repository/everything/"
}
maven {
name "papermc"
url "https://papermc.io/repo/repository/maven-public/"
}
}
```

Next, add the dependency as a `compileOnly` dependency:
```groovy
dependencies {
...
compileOnly 'net.ess3:EssentialsX:2.16.1'
compileOnly 'net.ess3:EssentialsX:2.17.2'
}
```

You should now be able to build against EssentialsX's API in your IDE.
You should now be able to build against EssentialsX's API in your IDE.

0 comments on commit 492f31b

Please sign in to comment.