Skip to content

Commit

Permalink
merge: version 4.4.0-SNAPSHOT (#112) [DEPLOY-SKIP]
Browse files Browse the repository at this point in the history
  • Loading branch information
Siroshun09 authored Jul 9, 2022
2 parents 766dc10 + 167a187 commit 45469fc
Show file tree
Hide file tree
Showing 79 changed files with 1,448 additions and 789 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
22 changes: 13 additions & 9 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ gradle-app.setting
.vscode
.settings
.factorypath
**/bin/

# IntelliJ IDEA
.idea
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Box v4.3.0
# Box v4.4.0-SNAPSHOT

![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/okocraft/Box)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/okocraft/Box/Maven%20Build)
Expand Down Expand Up @@ -85,19 +85,19 @@ For snapshot version, use https://okocraft.github.io/Box/maven-snapshot/
<dependency>
<groupId>net.okocraft.box</groupId>
<artifactId>api</artifactId>
<version>4.3.0</version>
<version>4.4.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
```

```gradle
dependencies {
compileOnly 'net.okocraft.box:api:4.3.0'
compileOnly 'net.okocraft.box:api:4.4.0-SNAPSHOT'
}
```

```kotlin
dependencies {
compileOnly("net.okocraft.box:api:4.3.0")
compileOnly("net.okocraft.box:api:4.4.0-SNAPSHOT")
}
```
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
Loading

0 comments on commit 45469fc

Please sign in to comment.