Skip to content
This repository has been archived by the owner on Jun 23, 2021. It is now read-only.

Commit

Permalink
Update pom, update README
Browse files Browse the repository at this point in the history
  • Loading branch information
cerus committed May 29, 2021
1 parent 2a30769 commit 021a4c6
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ public class MyBot {

## Installation

Since version 1.2.2, you can install `jda-slash-commands` from the central repository.

<details>
<summary>Before 1.2.2</summary>

**Maven**

``` xml
Expand Down Expand Up @@ -123,4 +128,35 @@ dependencies {
implementation 'com.github.cerus:jda-slash-commands:TAG'
}
```

</details>

**Maven**

```xml

<dependencies>
<dependency>
<groupId>dev.cerus</groupId>
<artifactId>jda-slash-commands</artifactId>
<version>1.2.2</version> <!-- Replace with latest version -->
<scope>compile</scope>
</dependency>
</dependencies>
```

**Gradle**

```
allprojects {
repositories {
...
mavenCentral()
}
}
dependencies {
implementation 'dev.cerus:jda-slash-commands:1.2.2'
}
```
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@
<goals>
<goal>sign</goal>
</goals>
<configuration>
<executable>${gpg.executable}</executable>
<keyname>${gpg.keyname}</keyname>
<passphrase>${gpg.passphrase}</passphrase>
</configuration>
</execution>
</executions>
</plugin>
Expand Down

0 comments on commit 021a4c6

Please sign in to comment.