From 7f564d91da0230033e8771e4d69c65aa82d6eb6b Mon Sep 17 00:00:00 2001 From: rlnt Date: Tue, 3 Sep 2024 15:45:00 +0200 Subject: [PATCH] document missing recipe viewer config properties --- README.md | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index a8057c1..9da87b0 100644 --- a/README.md +++ b/README.md @@ -340,6 +340,8 @@ Possible values are: Mode: `none`
Run Config: `false` +Minecraft Version: same as project +Maven Repository: default for the respective recipe viewer ### Configuration: @@ -352,6 +354,10 @@ almostgradle.setup { runConfig = true mode = LoadingMode.API version = "x.x.x" + /** + * Tries to fetch the artifact from a specific Maven repository. + */ + mavenRepository = "https://modmaven.dev" } rei { runConfig = true @@ -375,18 +381,19 @@ almostgradle.setup { Alternatively, it can be enabled and modified via properties in the `gradle.properties` file. ```properties -almostgradle.recipeViewers.emi.runConfig=true -almostgradle.recipeViewers.emi.mode=API -almostgradle.recipeViewers.emi.version=x.x.x - -almostgradle.recipeViewers.rei.runConfig=true -almostgradle.recipeViewers.rei.mode=FULL -almostgradle.recipeViewers.rei.version=x.x.x - -almostgradle.recipeViewers.jei.runConfig=true -almostgradle.recipeViewers.jei.mode=API -almostgradle.recipeViewers.jei.version=x.x.x -almostgradle.recipeViewers.jei.minecraftVersion=1.20 +almostgradle.recipeViewers.emi.runConfig = true +almostgradle.recipeViewers.emi.mode = API +almostgradle.recipeViewers.emi.version = x.x.x +almostgradle.recipeViewers.emi.maven = https://modmaven.dev + +almostgradle.recipeViewers.rei.runConfig = true +almostgradle.recipeViewers.rei.mode = FULL +almostgradle.recipeViewers.rei.version = x.x.x + +almostgradle.recipeViewers.jei.runConfig = true +almostgradle.recipeViewers.jei.mode = API +almostgradle.recipeViewers.jei.version = x.x.x +almostgradle.recipeViewers.jei.minecraftVersion = 1.20 ``` Additionally, it's possible to set the version for a recipe viewer and create the dependency on demand. This is useful