Skip to content

Commit 29e9664

Browse files
committed
Collapse Gradle instructions for clarity
1 parent a2e821f commit 29e9664

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,18 @@ A comprehensive inventory menu API for Spigot with pages support. Supports Bukki
4343
You can very easily install SpiGUI using [JitPack](https://jitpack.io/#com.samjakob/SpiGUI).
4444
(The JitPack page contains instructions for Gradle, Maven, sbt, etc.)
4545

46-
Gradle users; just add the following to your `build.gradle` file:
46+
<details>
47+
<summary>Instructions for Gradle</summary>
48+
49+
Just add the following to your `build.gradle` file:
4750
```groovy
4851
repositories {
4952
// ...
50-
5153
maven { url 'https://jitpack.io' }
5254
}
5355
5456
dependencies {
5557
// ...
56-
5758
implementation 'com.samjakob:SpiGUI:<insert latest version here>'
5859
}
5960
```
@@ -74,10 +75,14 @@ jar {
7475
}
7576
```
7677

78+
</details>
79+
7780
If you aren't using a build system, you can just download the latest JAR and
7881
add it to your project's classpath (just make sure the SpiGUI classes are
7982
included in your JAR when you build it).
8083

84+
<br>
85+
8186
## Quick Start
8287

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

0 commit comments

Comments
 (0)