Accidentally made a mess of gradle

This commit is contained in:
Sollace 2023-05-31 19:43:58 +01:00
parent 92d1c38127
commit a13ec4979a
2 changed files with 9 additions and 7 deletions

View file

@ -72,14 +72,16 @@ dependencies {
modImplementation "com.terraformersmc.terraform-api:terraform-wood-api-v1:${project.terraformer_api_version}" 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}" include "com.terraformersmc.terraform-api:terraform-wood-api-v1:${project.terraformer_api_version}"
if (project.tmi_type == 'jei') { if (project.tmi_type == 'emi') {
// We don't use that garbage
} else if (project.tmi_type == 'emi') {
// Use EMI at runtime
modCompileOnly "dev.emi:emi-fabric:${project.emi_version}" modCompileOnly "dev.emi:emi-fabric:${project.emi_version}"
} else { } else {
// Use neither modCompileOnly "dev.emi:emi-fabric-dummy:${project.emi_version}"
modCompileOnly "dev.emi:emi-fabric:${project.emi_version}" }
if (project.tmi_type == 'rei') {
// TODO:
} else {
// TODO:
} }
} }

View file

@ -29,5 +29,5 @@ org.gradle.daemon=false
terraformer_api_version=5.0.0 terraformer_api_version=5.0.0
# TMI Testing # TMI Testing
tmi_type=jei tmi_type=emi
emi_version=1.0.0+1.19.3 emi_version=1.0.0+1.19.3