From a13ec4979ad28a6e84f6dfb324fe726b77c7ade9 Mon Sep 17 00:00:00 2001 From: Sollace Date: Wed, 31 May 2023 19:43:58 +0100 Subject: [PATCH] Accidentally made a mess of gradle --- build.gradle | 14 ++++++++------ gradle.properties | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index ca0db6db..7f05c7f7 100644 --- a/build.gradle +++ b/build.gradle @@ -72,14 +72,16 @@ dependencies { modImplementation "com.terraformersmc.terraform-api:terraform-wood-api-v1:${project.terraformer_api_version}" include "com.terraformersmc.terraform-api:terraform-wood-api-v1:${project.terraformer_api_version}" - if (project.tmi_type == 'jei') { - // We don't use that garbage - } else if (project.tmi_type == 'emi') { - // Use EMI at runtime + if (project.tmi_type == 'emi') { modCompileOnly "dev.emi:emi-fabric:${project.emi_version}" } else { - // Use neither - modCompileOnly "dev.emi:emi-fabric:${project.emi_version}" + modCompileOnly "dev.emi:emi-fabric-dummy:${project.emi_version}" + } + + if (project.tmi_type == 'rei') { + // TODO: + } else { + // TODO: } } diff --git a/gradle.properties b/gradle.properties index 17dbf206..d58b1b4b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -29,5 +29,5 @@ org.gradle.daemon=false terraformer_api_version=5.0.0 # TMI Testing - tmi_type=jei + tmi_type=emi emi_version=1.0.0+1.19.3