Moved items not fabric dependant away from fabric

This commit is contained in:
coolGi
2023-04-11 01:07:53 +09:30
parent 02490440ec
commit d366da4947
30 changed files with 86 additions and 1148 deletions
+6 -7
View File
@@ -52,13 +52,6 @@ dependencies {
// Fabric loader
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
// Architectury API
// if (minecraft_version == "1.16.5") {
// addModJar("me.shedaniel:architectury-fabric:${rootProject.architectury_version}")
// } else {
// addModJar("dev.architectury:architectury-fabric:${rootProject.architectury_version}")
// }
// Fabric API
addModJar(fabricApi.module("fabric-events-interaction-v0", rootProject.fabric_api_version))
addModJar(fabricApi.module("fabric-lifecycle-events-v1", rootProject.fabric_api_version))
@@ -70,6 +63,8 @@ dependencies {
// Mod Menu
modImplementation("com.terraformersmc:modmenu:${rootProject.modmenu_version}")
// Starlight
addMod("curse.maven:starlight-521783:${rootProject.starlight_version_fabric}", rootProject.enable_starlight)
@@ -138,6 +133,10 @@ sourcesJar {
def commonSources = project(":common").sourcesJar
dependsOn commonSources
from commonSources.archiveFile.map { zipTree(it) }
def fabricLikeSources = project(":fabricLike").sourcesJar
dependsOn fabricLikeSources
from fabricLikeSources.archiveFile.map { zipTree(it) }
}
//components.java {