Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Fireplace authored Jan 8, 2023
1 parent 371dda5 commit fb77be0
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/dev.the-fireplace/GrandEconomy/badge.png)](https://maven-badges.herokuapp.com/maven-central/dev.the-fireplace/GrandEconomy)
## Adding Grand Economy to your dev environment
To use this with your mod, include the following in `build.gradle`:

Fabric:
```
repositories {
maven {
Expand All @@ -16,8 +18,24 @@ repositories {
}
}
dependencies {
modCompileOnly "dev.the-fireplace:Grand-Economy:${project.grandeconomy_version}:api"
modRuntime "dev.the-fireplace:Grand-Economy:${project.grandeconomy_version}"
modCompileOnly "dev.the-fireplace:Grand-Economy-Fabric:${project.grandeconomy_version}:api"
modRuntimeOnly "dev.the-fireplace:Grand-Economy-Fabric:${project.grandeconomy_version}"
}
```
Forge:
```
repositories {
maven {
name 'Cloth Config'
url 'https://maven.shedaniel.me/'
}
}
dependencies {
implementation(fg.deobf("dev.the-fireplace:Annotated-DI-Forge:${project.annotateddi_version}"))
compileOnly(fg.deobf("dev.the-fireplace:Fireplace-Lib-Forge:${project.fireplacelib_version}:api"))
runtimeOnly(fg.deobf("dev.the-fireplace:Fireplace-Lib-Forge:${project.fireplacelib_version}"))
compileOnly(fg.deobf("dev.the-fireplace:Grand-Economy-Forge:${project.grandeconomy_version}:api"
runtimeOnly(fg.deobf("dev.the-fireplace:Grand-Economy-Forge:${project.grandeconomy_version}"
}
```
And in `gradle.properties`:
Expand All @@ -40,4 +58,4 @@ To use economy from Grand Economy and/or register your own economy, you'll want
"grandeconomy": [
"your.package.YourImplementationClass"
]
},
},

0 comments on commit fb77be0

Please sign in to comment.