Skip to content

Commit

Permalink
add dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
topi-banana committed Sep 24, 2024
1 parent be23358 commit d957e0a
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ jobs:
loaders: fabric
game-versions: ${{ steps.game_versions.outputs.value }}
game-version-filter: any
dependencies: '' # declare the dependencies explicitly, so mc-publish won't try to load from fabric.mod.json
dependencies: |- # declare the dependencies explicitly, so mc-publish won't try to load from fabric.mod.json
carpet(required)
github-changelog: ${{ format('{0}{1}', github.event.release.body, steps.get_release.outputs.body) }}
modrinth-changelog: ${{ steps.changelog.outputs.result }}
Expand Down
6 changes: 4 additions & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@
],

"depends": {
"fabricloader": ">=0.11.4",
"minecraft": "${minecraft_dependency}"
"fabricloader": ">=0.14.25",
"carpet": "${carpet_dependency}",
"minecraft": "${minecraft_dependency}",
"mixinextras": ">=0.3.0"
},

"custom": {
Expand Down
1 change: 1 addition & 0 deletions versions/1.19.4/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
yarn_mappings=1.19.4+build.2

# Fabric Mod Metadata
carpet_dependency=>=1.4.100
minecraft_dependency=1.19.x

# Build Information
Expand Down
1 change: 1 addition & 0 deletions versions/1.20.1/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
yarn_mappings=1.20.1+build.2

# Fabric Mod Metadata
carpet_dependency=>=1.4.112
minecraft_dependency=>=1.20

# Build Information
Expand Down
1 change: 1 addition & 0 deletions versions/1.20.2/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
yarn_mappings=1.20.2+build.1

# Fabric Mod Metadata
carpet_dependency=>=1.4.118
minecraft_dependency=>=1.20.2

# Build Information
Expand Down
1 change: 1 addition & 0 deletions versions/1.20.6/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
yarn_mappings=1.20.6+build.3

# Fabric Mod Metadata
carpet_dependency=>=1.4.140
minecraft_dependency=>=1.20.6

# Build Information
Expand Down
1 change: 1 addition & 0 deletions versions/1.21.1/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
yarn_mappings=1.21.1+build.3

# Fabric Mod Metadata
carpet_dependency=>=1.4.147
minecraft_dependency=1.21.x

# Build Information
Expand Down

0 comments on commit d957e0a

Please sign in to comment.