chore: Cleanup Gradle

This commit is contained in:
Ampflower 🌺 2025-03-12 06:46:13 -07:00
parent 0b49330a37
commit 5be9b1e2d2
No known key found for this signature in database
GPG Key ID: FC0397C90D508D7F
2 changed files with 4 additions and 8 deletions

View File

@ -3,13 +3,6 @@ val xplatClient = xplat.sourceSets.client.get()
val xplatMain = xplat.sourceSets.main.get() val xplatMain = xplat.sourceSets.main.get()
val modrinthId: String by project val modrinthId: String by project
/*
sourceSets {
client {
compileClasspath += xplatClient.compileClasspath;
runtimeClasspath += xplatClient.runtimeClasspath;
}
}*/
dependencies { dependencies {
modImplementation(libs.bundles.fabric) modImplementation(libs.bundles.fabric)
@ -21,6 +14,8 @@ dependencies {
include(libs.bundles.fabric.bundle) include(libs.bundles.fabric.bundle)
modImplementation(libs.bundles.fabric.bundle) modImplementation(libs.bundles.fabric.bundle)
modRuntimeOnly(libs.bundles.fabric.runtime) modRuntimeOnly(libs.bundles.fabric.runtime)
modClientRuntimeOnly(libs.bundles.fabric.client.runtime)
} }
tasks { tasks {

View File

@ -83,7 +83,8 @@ testng = { module = "org.testng:testng", version.ref = "testng" }
[bundles] [bundles]
fabric = ["fabric-loader", "fabric-api", "trinkets", "mavapi", "midnight-fabric"] fabric = ["fabric-loader", "fabric-api", "trinkets", "mavapi", "midnight-fabric"]
fabric-bundle = ["modmenu-badges"] fabric-bundle = ["modmenu-badges"]
fabric-runtime = ["emi-fabric", "modmenu"] fabric-runtime = ["emi-fabric"]
fabric-client-runtime = ["modmenu"]
forge = ["curios"] forge = ["curios"]
forge-runtime = [] forge-runtime = []