diff --git a/common/legacy-fabric-gamerule-api-v1/build.gradle b/common/legacy-fabric-gamerule-api-v1/build.gradle deleted file mode 100644 index 3ca3a9171..000000000 --- a/common/legacy-fabric-gamerule-api-v1/build.gradle +++ /dev/null @@ -1,7 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common" - ] -]) diff --git a/legacy-fabric-gamerule-api-v1/common.gradle b/legacy-fabric-gamerule-api-v1/common.gradle new file mode 100644 index 000000000..f7bb5a4dd --- /dev/null +++ b/legacy-fabric-gamerule-api-v1/common.gradle @@ -0,0 +1,3 @@ +moduleDependencies(project, [ + "legacy-fabric-api-base" +]) diff --git a/legacy-fabric-gamerule-api-v1/common/build.gradle b/legacy-fabric-gamerule-api-v1/common/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-gamerule-api-v1/common/gradle.properties b/legacy-fabric-gamerule-api-v1/common/gradle.properties new file mode 100644 index 000000000..dd84f09f1 --- /dev/null +++ b/legacy-fabric-gamerule-api-v1/common/gradle.properties @@ -0,0 +1,3 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.13.2 +artifactSuffix= diff --git a/common/legacy-fabric-gamerule-api-v1/src/main/java/net/legacyfabric/fabric/api/gamerule/v1/GameRulesInitializedCallback.java b/legacy-fabric-gamerule-api-v1/common/src/main/java/net/legacyfabric/fabric/api/gamerule/v1/GameRulesInitializedCallback.java similarity index 100% rename from common/legacy-fabric-gamerule-api-v1/src/main/java/net/legacyfabric/fabric/api/gamerule/v1/GameRulesInitializedCallback.java rename to legacy-fabric-gamerule-api-v1/common/src/main/java/net/legacyfabric/fabric/api/gamerule/v1/GameRulesInitializedCallback.java diff --git a/common/legacy-fabric-gamerule-api-v1/src/main/java/net/legacyfabric/fabric/mixin/gamerule/GameRulesMixin.java b/legacy-fabric-gamerule-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/gamerule/GameRulesMixin.java similarity index 100% rename from common/legacy-fabric-gamerule-api-v1/src/main/java/net/legacyfabric/fabric/mixin/gamerule/GameRulesMixin.java rename to legacy-fabric-gamerule-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/gamerule/GameRulesMixin.java diff --git a/common/legacy-fabric-gamerule-api-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-gamerule-api-v1/common/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from common/legacy-fabric-gamerule-api-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-gamerule-api-v1/common/src/main/resources/assets/legacy-fabric/icon.png diff --git a/common/legacy-fabric-gamerule-api-v1/src/main/resources/fabric.mod.json b/legacy-fabric-gamerule-api-v1/common/src/main/resources/fabric.mod.json similarity index 93% rename from common/legacy-fabric-gamerule-api-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-gamerule-api-v1/common/src/main/resources/fabric.mod.json index 3d8e443a3..06c7d1aad 100644 --- a/common/legacy-fabric-gamerule-api-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-gamerule-api-v1/common/src/main/resources/fabric.mod.json @@ -15,7 +15,8 @@ "Legacy-Fabric" ], "depends": { - "fabricloader": ">=0.8.2" + "fabricloader": ">=0.8.2", + "minecraft": "${minecraft_version}" }, "description": "Allows registration of custom game rules.", "mixins": [ diff --git a/common/legacy-fabric-gamerule-api-v1/src/main/resources/legacy-fabric-gamerule-api-v1.mixins.json b/legacy-fabric-gamerule-api-v1/common/src/main/resources/legacy-fabric-gamerule-api-v1.mixins.json similarity index 100% rename from common/legacy-fabric-gamerule-api-v1/src/main/resources/legacy-fabric-gamerule-api-v1.mixins.json rename to legacy-fabric-gamerule-api-v1/common/src/main/resources/legacy-fabric-gamerule-api-v1.mixins.json diff --git a/settings.gradle b/settings.gradle index d13493b91..9c3678417 100644 --- a/settings.gradle +++ b/settings.gradle @@ -31,6 +31,7 @@ loadProject("legacy-fabric-resource-loader-v1") loadProject("legacy-fabric-lifecycle-events-v1") loadProject("legacy-fabric-command-api-v1") loadProject("legacy-fabric-entity-events-v1") +loadProject("legacy-fabric-gamerule-api-v1") //include("common") //include("common:legacy-fabric-logger-api-v1")