diff --git a/fabric/build.gradle.kts b/fabric/build.gradle.kts index 53fd333..dd505ab 100644 --- a/fabric/build.gradle.kts +++ b/fabric/build.gradle.kts @@ -3,13 +3,6 @@ val xplatClient = xplat.sourceSets.client.get() val xplatMain = xplat.sourceSets.main.get() val modrinthId: String by project -/* -sourceSets { - client { - compileClasspath += xplatClient.compileClasspath; - runtimeClasspath += xplatClient.runtimeClasspath; - } -}*/ dependencies { modImplementation(libs.bundles.fabric) @@ -21,6 +14,8 @@ dependencies { include(libs.bundles.fabric.bundle) modImplementation(libs.bundles.fabric.bundle) modRuntimeOnly(libs.bundles.fabric.runtime) + + modClientRuntimeOnly(libs.bundles.fabric.client.runtime) } tasks { diff --git a/libs.versions.toml b/libs.versions.toml index b3075f6..3401619 100644 --- a/libs.versions.toml +++ b/libs.versions.toml @@ -83,7 +83,8 @@ testng = { module = "org.testng:testng", version.ref = "testng" } [bundles] fabric = ["fabric-loader", "fabric-api", "trinkets", "mavapi", "midnight-fabric"] fabric-bundle = ["modmenu-badges"] -fabric-runtime = ["emi-fabric", "modmenu"] +fabric-runtime = ["emi-fabric"] +fabric-client-runtime = ["modmenu"] forge = ["curios"] forge-runtime = []