Skip to content
This repository was archived by the owner on Jul 24, 2021. It is now read-only.

Commit 9bfdc0a

Browse files
authored
♻️ Rollback to java 8 (#5)
1 parent d66e63a commit 9bfdc0a

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up JDK
1818
uses: actions/setup-java@v1.4.3
1919
with:
20-
java-version: 1.11
20+
java-version: 1.8
2121
java-package: jdk
2222
- name: Make gradlew executable
2323
run: chmod +x ./gradlew

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up JDK
1616
uses: actions/setup-java@v1.4.3
1717
with:
18-
java-version: 1.11
18+
java-version: 1.8
1919
java-package: jdk
2020
- name: Make gradlew executable
2121
run: chmod +x ./gradlew

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,16 @@ inventory.build(player);
5050

5151
## Intégration
5252

53-
➠ Pour intégrer ce code à gradle :
53+
[![Release](https://jitpack.io/v/BakaAless/InventoryAPI.svg)](https://jitpack.io/#BakaAless/InventoryAPI)
54+
55+
➠ Pour intégrer ce code à gradle, en remplaçant `Version` par la version ci-dessus :
5456
```gradle
5557
repositories {
5658
maven { url 'https://jitpack.io' }
5759
}
5860
5961
dependencies {
60-
implementation group: 'com.github.BakaAless', name: 'InventoryAPI', version: 'v1.0.3'
62+
implementation group: 'com.github.BakaAless', name: 'InventoryAPI', version: 'VERSION'
6163
}
6264
```
6365

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ version '1.0.4'
1111
def spigotVersion = '1.16'
1212
def subVersion = '.5'
1313

14-
sourceCompatibility = targetCompatibility = '1.11'
14+
sourceCompatibility = targetCompatibility = '1.8'
1515

1616
repositories {
1717
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots' }

0 commit comments

Comments
 (0)