Skip to content

Commit

Permalink
Collapse Gradle instructions for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
SamJakob committed Aug 15, 2023
1 parent a2e821f commit 29e9664
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,18 @@ A comprehensive inventory menu API for Spigot with pages support. Supports Bukki
You can very easily install SpiGUI using [JitPack](https://jitpack.io/#com.samjakob/SpiGUI).
(The JitPack page contains instructions for Gradle, Maven, sbt, etc.)

Gradle users; just add the following to your `build.gradle` file:
<details>
<summary>Instructions for Gradle</summary>

Just add the following to your `build.gradle` file:
```groovy
repositories {
// ...
maven { url 'https://jitpack.io' }
}
dependencies {
// ...
implementation 'com.samjakob:SpiGUI:<insert latest version here>'
}
```
Expand All @@ -74,10 +75,14 @@ jar {
}
```

</details>

If you aren't using a build system, you can just download the latest JAR and
add it to your project's classpath (just make sure the SpiGUI classes are
included in your JAR when you build it).

<br>

## Quick Start

**Step 1: Create an instance of the SpiGUI library in your plugin**
Expand Down

0 comments on commit 29e9664

Please sign in to comment.