-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge: version 4.4.0-SNAPSHOT (#112) [DEPLOY-SKIP]
- Loading branch information
Showing
79 changed files
with
1,448 additions
and
789 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,19 +10,26 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: "! contains(github.event.head_commit.message, '[DEPLOY-SKIP]')" | ||
steps: | ||
- uses: actions/checkout@v2.4.0 | ||
- uses: actions/checkout@v3.0.2 | ||
- name: Set up JDK 16 | ||
uses: actions/setup-java@v2.5.0 | ||
uses: actions/setup-java@v3.3.0 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '16' | ||
cache: 'gradle' | ||
- name: Validate Gradle wrapper | ||
uses: gradle/[email protected] | ||
- run: chmod +x ./gradlew | ||
- name: Deploy to staging directory | ||
run: | | ||
chmod +x ./gradlew | ||
./gradlew clean | ||
./gradlew publish -P box.publish=true | ||
./gradlew aggregateJavadoc | ||
uses: gradle/[email protected] | ||
with: | ||
arguments: | | ||
clean | ||
publish -P box.publish=true | ||
- name: Generate Javadocs | ||
uses: gradle/[email protected] | ||
with: | ||
arguments: aggregateJavadoc | ||
- name: Move Javadoc pages to staging directory (release) | ||
if: ${{ github.ref == 'refs/heads/v4/master' }} | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,19 +5,23 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2.4.0 | ||
- uses: actions/checkout@v3.0.2 | ||
- name: Set up JDK 16 | ||
uses: actions/setup-java@v2.5.0 | ||
uses: actions/setup-java@v3.3.0 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '16' | ||
cache: 'gradle' | ||
- name: Build | ||
run: | | ||
chmod +x ./gradlew | ||
./gradlew clean | ||
./gradlew build | ||
./gradlew shadowJar | ||
- name: Validate Gradle wrapper | ||
uses: gradle/[email protected] | ||
- run: chmod +x ./gradlew | ||
- name: Build with Gradle | ||
uses: gradle/[email protected] | ||
with: | ||
arguments: | | ||
clean | ||
build | ||
shadowJar | ||
- name: Move the artifact | ||
run: | | ||
mkdir staging | ||
|
@@ -32,7 +36,7 @@ jobs: | |
mv features/gui/build staging/features/gui | ||
mv features/notifier/build staging/features/notifier | ||
mv features/stick/build staging/features/stick | ||
- uses: actions/upload-artifact@v2.3.1 | ||
- uses: actions/upload-artifact@v3.1.0 | ||
with: | ||
name: Package | ||
path: staging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,6 +61,7 @@ gradle-app.setting | |
.vscode | ||
.settings | ||
.factorypath | ||
**/bin/ | ||
|
||
# IntelliJ IDEA | ||
.idea | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
api/src/main/java/net/okocraft/box/api/command/base/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/** | ||
* A package that includes {@link net.okocraft.box.api.command.base.BoxCommand} ({@code /box}) and | ||
* {@link net.okocraft.box.api.command.base.BoxAdminCommand} ({@code /boxadmin}). | ||
*/ | ||
package net.okocraft.box.api.command.base; |
4 changes: 4 additions & 0 deletions
4
api/src/main/java/net/okocraft/box/api/command/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* A package that includes command interfaces. | ||
*/ | ||
package net.okocraft.box.api.command; |
4 changes: 4 additions & 0 deletions
4
api/src/main/java/net/okocraft/box/api/event/feature/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* A package of {@link net.okocraft.box.api.feature.BoxFeature} related events. | ||
*/ | ||
package net.okocraft.box.api.event.feature; |
4 changes: 4 additions & 0 deletions
4
api/src/main/java/net/okocraft/box/api/event/general/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* A package of general events. | ||
*/ | ||
package net.okocraft.box.api.event.general; |
4 changes: 4 additions & 0 deletions
4
api/src/main/java/net/okocraft/box/api/event/item/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* A package of {@link net.okocraft.box.api.model.item.BoxItem} related events. | ||
*/ | ||
package net.okocraft.box.api.event.item; |
4 changes: 4 additions & 0 deletions
4
api/src/main/java/net/okocraft/box/api/event/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* A package that includes Box's events. | ||
*/ | ||
package net.okocraft.box.api.event; |
4 changes: 4 additions & 0 deletions
4
api/src/main/java/net/okocraft/box/api/event/player/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* A package of {@link net.okocraft.box.api.player.BoxPlayer} related events. | ||
*/ | ||
package net.okocraft.box.api.event.player; |
4 changes: 4 additions & 0 deletions
4
api/src/main/java/net/okocraft/box/api/event/stock/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* A package of stock related events. | ||
*/ | ||
package net.okocraft.box.api.event.stock; |
4 changes: 4 additions & 0 deletions
4
api/src/main/java/net/okocraft/box/api/event/stockholder/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* A package of {@link net.okocraft.box.api.model.stock.StockHolder} related events. | ||
*/ | ||
package net.okocraft.box.api.event.stockholder; |
4 changes: 4 additions & 0 deletions
4
api/src/main/java/net/okocraft/box/api/feature/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* A package that includes {@link net.okocraft.box.api.feature.BoxFeature} interfaces. | ||
*/ | ||
package net.okocraft.box.api.feature; |
Oops, something went wrong.