Add toggles for pehkui and sodium

This commit is contained in:
Sollace 2024-02-11 00:28:39 +00:00
parent 65b468507c
commit 989d1df294
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB
2 changed files with 13 additions and 5 deletions

View file

@ -75,10 +75,15 @@ dependencies {
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}"
modCompileOnly "maven.modrinth:farmers-delight-fabric:${project.farmers_delight_version}", { exclude group: "net.fabricmc.fabric-api" } modCompileOnly "maven.modrinth:farmers-delight-fabric:${project.farmers_delight_version}", { exclude group: "net.fabricmc.fabric-api" }
modCompileOnly "maven.modrinth:iris:${project.iris_version}", { exclude group: "net.fabricmc.fabric-api" } if (project.use_pehkui == '1') {
modCompileOnly "maven.modrinth:sodium:${project.sodium_version}", { exclude group: "net.fabricmc.fabric-api" } modCompileOnly "maven.modrinth:pehkui:${project.pehkui_version}", { exclude group: "net.fabricmc.fabric-api" }
modCompileOnly "maven.modrinth:pehkui:${project.pehkui_version}", { exclude group: "net.fabricmc.fabric-api" } modCompileOnly "com.github.Virtuoel:KanosConfig:0.4.1", { exclude group: "net.fabricmc.fabric-api" }
modCompileOnly "com.github.Virtuoel:KanosConfig:0.4.1", { exclude group: "net.fabricmc.fabric-api" } }
if (project.use_sodium == '1') {
modCompileOnly "maven.modrinth:sodium:${project.sodium_version}", { exclude group: "net.fabricmc.fabric-api" }
modCompileOnly "maven.modrinth:iris:${project.iris_version}", { exclude group: "net.fabricmc.fabric-api" }
}
if (project.tmi_type == 'emi') { if (project.tmi_type == 'emi') {
modCompileOnly "dev.emi:emi-fabric:${project.emi_version}" modCompileOnly "dev.emi:emi-fabric:${project.emi_version}"

View file

@ -15,7 +15,7 @@ org.gradle.daemon=false
description=Magical Abilities for Mine Little Pony! description=Magical Abilities for Mine Little Pony!
# Publishing # Publishing
minecraft_version_range=>=1.20.1 minecraft_version_range=1.20.1
modrinth_loader_type=fabric modrinth_loader_type=fabric
modrinth_project_id=9K7RJlvM modrinth_project_id=9K7RJlvM
@ -29,6 +29,9 @@ org.gradle.daemon=false
terraformer_api_version=7.0.0-beta.1 terraformer_api_version=7.0.0-beta.1
# Testing # Testing
use_pehkui=0
use_sodium=1
farmers_delight_version=1.4.3 farmers_delight_version=1.4.3
pehkui_version=3.7.8+1.14.4-1.20.1 pehkui_version=3.7.8+1.14.4-1.20.1
iris_version=1.6.8+1.20.1 iris_version=1.6.8+1.20.1