Skip to content

Commit

Permalink
Narrow fabric api dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyrofab committed Mar 2, 2022
1 parent 4f9688f commit 48b828c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ dependencies {
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

// Fabric API. This is technically optional, but you probably want it anyway.
modLocalImplementation("net.fabricmc.fabric-api:fabric-api:${project.fabric_version}")
modImplementation fabricApi.module("fabric-gametest-api-v1", fabric_version)
modLocalImplementation("dev.onyxstudios.cardinal-components-api:cardinal-components-base:${cca_version}")
modLocalImplementation("dev.onyxstudios.cardinal-components-api:cardinal-components-entity:${cca_version}")
api 'junit:junit:4.13'
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
------------------------------------------------------
Version 0.5.2
------------------------------------------------------
**Changes**
- Switched dependency declaration from Fabric API to fabric-gametest-api-v1

------------------------------------------------------
Version 0.5.1
------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G
loader_version=0.13.3

# Mod Properties
mod_version = 0.5.1
mod_version = 0.5.2
maven_group = io.github.ladysnake
archives_base_name = elmendorf

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

"depends": {
"fabricloader": ">=0.11.3",
"fabric": "*",
"fabric-gametest-api-v1": "*",
"minecraft": "1.18.x",
"java": ">=17"
},
Expand Down
2 changes: 1 addition & 1 deletion src/testmod/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@

"depends": {
"fabricloader": ">=0.11.3",
"fabric": "*",
"minecraft": "1.18.x",
"elmendorf": "*",
"java": ">=17"
},

Expand Down

0 comments on commit 48b828c

Please sign in to comment.