Skip to content

Commit

Permalink
修复构建&更新Gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFloodDragon committed Dec 16, 2023
1 parent 4ed9625 commit 655027e
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 99 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,23 @@ name: TrMenu Dev
on:
push:
branches: [ stable/v3 ]

pull_request:
branches: [ stable/v3 ]
jobs:
releaseJar:
runs-on: ubuntu-latest
if: "github.actor != 'dependabot[bot]'"
steps:
- uses: actions/checkout@main
- name: set up JDK 17
- name: set up JDK 8
uses: actions/setup-java@main
with:
java-version: 17
java-version: 8
distribution: temurin

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build

- name: Upload TrMenu
uses: marvinpinto/action-automatic-releases@master
with:
Expand All @@ -29,3 +28,8 @@ jobs:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
files: "build/libs/*.jar"
prerelease: true
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: TrMenu Artifact
path: build/libs/*.jar
86 changes: 1 addition & 85 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![](142921rll20j5kie5kzk1f.gif)
![](animation.gif)

![](https://img.shields.io/github/last-commit/Winds-Studio/TrMenu?logo=artstation&style=for-the-badge&color=9266CC)![](https://img.shields.io/github/issues/Winds-Studio/TrMenu?style=for-the-badge&logo=slashdot)![](https://img.shields.io/github/release/Winds-Studio/TrMenu?style=for-the-badge&color=00C58E&logo=ionic)

Expand All @@ -15,90 +15,6 @@

---

### 🔔 What's new in TrMenu v3?

- **Extremely Fast & Optimized** Not only focused on the improvement of conditional evaluations but also reconstructed
the API of the virtual inventory. Large quantity of modules have been recoded for better performance, as well as
providing a unique way of monitoring TrMenu's performance
- **Capable as always** Almost every feature are optimized and reserved, new features are also added
- **Function & Scripts** Unify and standardize the use of inline functions, refactor TrMenu Actions, and fully support
the new Kether scripting language

> For more detailed information, please via the wiki site
---

### 🌍 Languages

* **en_US(English)** by _@Arasple_ & _@Score2_
* **ru_RU(Русский)** by _@Liassid_
* **vi_VN(Tiếng Việt)** by _@Galaxy-VN_
* **zh_CN(简体中文)** by _@Arasple_ & _@Score2_
* **zh_HK(繁體中文)** by _@Arasple_ & _@Score2_
* **zh_TW(繁體中文)** copy from _zh_HK_

---

[//]: # (### ⛏ Developer)

[//]: # ()
[//]: # (Maven:)

[//]: # (```xml)

[//]: # ( <repositories>)

[//]: # ( <repository>)

[//]: # ( <id>roselle-public</id>)

[//]: # ( <url>https://repo.mcage.cn/repository/maven-public/</url>)

[//]: # ( </repository>)

[//]: # ( </repositories>)

[//]: # ()
[//]: # ( <dependencies>)

[//]: # ( <dependency>)

[//]: # ( <groupId>me.arasple.mc.trmenu</groupId>)

[//]: # ( <artifactId>trmenu</artifactId>)

[//]: # ( <version>{LATEST-VERSION}</version>)

[//]: # ( <scope>provided</scope>)

[//]: # ( </dependency>)

[//]: # ( </dependencies>)

[//]: # (```)

[//]: # ()
[//]: # (Gradle Kotlin DSL)

[//]: # (```kotlin)

[//]: # (repositories {)

[//]: # ( maven&#40;"https://repo.mcage.cn/repository/maven-public/"&#41;)

[//]: # (})

[//]: # (dependencies {)

[//]: # ( compileOnly&#40;"me.arasple.mc.trmenu:trmenu:{LATEST-VERSION}"&#41;)

[//]: # (})

[//]: # ()
[//]: # (```)

[//]: # (---)

### 🎯 Introduce

TrMenu is a brand new advanced dynamic menu plugin
Expand Down
File renamed without changes
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-8.5-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
zipStorePath=wrapper/dists
14 changes: 7 additions & 7 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC2039,SC3045
# shellcheck disable=SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
case $MAX_FD in #(
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC2039,SC3045
# shellcheck disable=SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
Expand Down Expand Up @@ -202,11 +202,11 @@ fi
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'

# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.
# Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in
# double quotes to make sure that they get re-expanded; and
# * put everything else in single quotes, so that it's not re-expanded.

set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
Expand Down

0 comments on commit 655027e

Please sign in to comment.