From fb77be0f9bdfdf45a8d43af7497a0e8c3caabec5 Mon Sep 17 00:00:00 2001 From: The_Fireplace Date: Sun, 8 Jan 2023 10:25:58 -0600 Subject: [PATCH] Update README.md --- README.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index efa6edb..38ed88c 100644 --- a/README.md +++ b/README.md @@ -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 { @@ -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`: @@ -40,4 +58,4 @@ To use economy from Grand Economy and/or register your own economy, you'll want "grandeconomy": [ "your.package.YourImplementationClass" ] - }, \ No newline at end of file + },