Skip to content

Commit

Permalink
Update gradle snippet to also exclude Fabric Loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n authored Sep 18, 2023
1 parent 9875b71 commit db03091
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following into your dependencies block in build.gradle

```groovy
include modApi('teamreborn:energy:<latest_version>') {
exclude(group: "net.fabricmc.fabric-api")
transitive = false

This comment has been minimized.

Copy link
@modmuss50

modmuss50 Sep 18, 2023

Member

This shouldn't be needed, if it is something is wrong with our POM....

This comment has been minimized.

Copy link
@Technici4n

Technici4n Sep 19, 2023

Author Collaborator

We have fabric loader as a modImplementation dependency

This comment has been minimized.

Copy link
@modmuss50

modmuss50 Sep 19, 2023

Member

Thats correct, it all looks fine to me. this shouldnt be needed at all, unless the developer is using an older version of loader (due to a loom bug that cannot be easily fixed)

This comment has been minimized.

Copy link
@FakeDomi

FakeDomi Sep 19, 2023

It's the other way around. Energy 2.3.0 is the last build compatible with 1.19.3- and it depends on Loader 0.12.12 while the project template generator puts the latest version.

}
```

Expand Down Expand Up @@ -118,4 +118,4 @@ Make sure you read the documentation of `ContainerItemContext` if you go down th

## Charging items
Check out how you can create a `ContainerItemContext`,
and use it to query an `EnergyStorage` implementation with `EnergyStorage.SIDED`.
and use it to query an `EnergyStorage` implementation with `EnergyStorage.SIDED`.

0 comments on commit db03091

Please sign in to comment.