Skip to content

Commit

Permalink
Merge branch 'refs/heads/main' into 1.21
Browse files Browse the repository at this point in the history
# Conflicts:
#	gradle.properties
#	src/main/resources/fabric.mod.json
  • Loading branch information
zhenlige committed Nov 29, 2024
2 parents d64f419 + dd3eb62 commit 79bc447
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# https://wiki.fabricmc.net/zh_cn:tutorial:publishing_mods_using_github_actions
name: publish
on: [workflow_dispatch]

Expand All @@ -14,9 +13,10 @@ jobs:
with:
submodules: true
- name: setup Java
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'microsoft'
- name: exe
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
Expand All @@ -31,5 +31,4 @@ jobs:
github-token: ${{ secrets.GAYHUB_TOKEN }}
github-commitish: 1.21

version-type: beta
loaders: ["fabric", "quilt"]
version-type: beta
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.7-SNAPSHOT'
id 'fabric-loom' version '1.8-SNAPSHOT'
id 'maven-publish'
id 'com.modrinth.minotaur' version '2.+'
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
7 changes: 6 additions & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,16 @@
],
"depends": {
"fabricloader": "*",
"minecraft": ">=1.21- <1.21.2-",
"minecraft": ">1.20.6 <1.21.2",
"java": ">=21",
"fabric-api": "*"
},
"suggests": {
"another-mod": "*"
},
"custom": {
"mc-publish": {
"loaders": ["fabric", "quilt"]
}
}
}

0 comments on commit 79bc447

Please sign in to comment.