mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 07:17:58 +01:00
Accidentally made a mess of gradle
This commit is contained in:
parent
92d1c38127
commit
a13ec4979a
2 changed files with 9 additions and 7 deletions
14
build.gradle
14
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:
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue