diff --git a/1.7.10/legacy-fabric-keybindings-api-v1/build.gradle b/1.7.10/legacy-fabric-keybindings-api-v1/build.gradle deleted file mode 100644 index cc72b51d9..000000000 --- a/1.7.10/legacy-fabric-keybindings-api-v1/build.gradle +++ /dev/null @@ -1,12 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-lifecycle-events-v1-common", - "legacy-fabric-keybindings-api-v1-common" - ], - "1.7.10": [ - "legacy-fabric-lifecycle-events-v1" - ] -]) diff --git a/1.8.9/legacy-fabric-keybindings-api-v1/build.gradle b/1.8.9/legacy-fabric-keybindings-api-v1/build.gradle deleted file mode 100644 index a463ff795..000000000 --- a/1.8.9/legacy-fabric-keybindings-api-v1/build.gradle +++ /dev/null @@ -1,12 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-lifecycle-events-v1-common", - "legacy-fabric-keybindings-api-v1-common" - ], - "1.8.9": [ - "legacy-fabric-lifecycle-events-v1" - ] -]) diff --git a/common/legacy-fabric-keybindings-api-v1-common/build.gradle b/common/legacy-fabric-keybindings-api-v1-common/build.gradle deleted file mode 100644 index 204e91307..000000000 --- a/common/legacy-fabric-keybindings-api-v1-common/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-lifecycle-events-v1-common" - ] -]) diff --git a/legacy-fabric-keybindings-api-v1/1.7.10/build.gradle b/legacy-fabric-keybindings-api-v1/1.7.10/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-keybindings-api-v1/1.7.10/gradle.properties b/legacy-fabric-keybindings-api-v1/1.7.10/gradle.properties new file mode 100644 index 000000000..c6dcd9541 --- /dev/null +++ b/legacy-fabric-keybindings-api-v1/1.7.10/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.7.10 diff --git a/1.7.10/legacy-fabric-keybindings-api-v1/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java b/legacy-fabric-keybindings-api-v1/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java similarity index 100% rename from 1.7.10/legacy-fabric-keybindings-api-v1/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java rename to legacy-fabric-keybindings-api-v1/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java diff --git a/1.7.10/legacy-fabric-keybindings-api-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-keybindings-api-v1/1.7.10/src/testmod/resources/fabric.mod.json similarity index 87% rename from 1.7.10/legacy-fabric-keybindings-api-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-keybindings-api-v1/1.7.10/src/testmod/resources/fabric.mod.json index 058b0291c..b9c55e26f 100644 --- a/1.7.10/legacy-fabric-keybindings-api-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-keybindings-api-v1/1.7.10/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": "<=1.7.10" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-keybindings-api-v1/1.8.9/build.gradle b/legacy-fabric-keybindings-api-v1/1.8.9/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-keybindings-api-v1/1.8.9/gradle.properties b/legacy-fabric-keybindings-api-v1/1.8.9/gradle.properties new file mode 100644 index 000000000..7d5606688 --- /dev/null +++ b/legacy-fabric-keybindings-api-v1/1.8.9/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.8 +maxVersionIncluded=1.12.2 diff --git a/1.8.9/legacy-fabric-keybindings-api-v1/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java b/legacy-fabric-keybindings-api-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java similarity index 100% rename from 1.8.9/legacy-fabric-keybindings-api-v1/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java rename to legacy-fabric-keybindings-api-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java diff --git a/1.8.9/legacy-fabric-keybindings-api-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-keybindings-api-v1/1.8.9/src/testmod/resources/fabric.mod.json similarity index 87% rename from 1.8.9/legacy-fabric-keybindings-api-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-keybindings-api-v1/1.8.9/src/testmod/resources/fabric.mod.json index cabad2c75..b9c55e26f 100644 --- a/1.8.9/legacy-fabric-keybindings-api-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-keybindings-api-v1/1.8.9/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": ">=1.8 <=1.12.2" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-keybindings-api-v1/common.gradle b/legacy-fabric-keybindings-api-v1/common.gradle new file mode 100644 index 000000000..28cd8d384 --- /dev/null +++ b/legacy-fabric-keybindings-api-v1/common.gradle @@ -0,0 +1,4 @@ +moduleDependencies(project, [ + "legacy-fabric-api-base", + "legacy-fabric-lifecycle-events-v1" +]) diff --git a/legacy-fabric-keybindings-api-v1/common/build.gradle b/legacy-fabric-keybindings-api-v1/common/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-keybindings-api-v1/common/gradle.properties b/legacy-fabric-keybindings-api-v1/common/gradle.properties new file mode 100644 index 000000000..13b94f3a1 --- /dev/null +++ b/legacy-fabric-keybindings-api-v1/common/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.13.2 diff --git a/common/legacy-fabric-keybindings-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/keybinding/v1/KeyBindingHelper.java b/legacy-fabric-keybindings-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/keybinding/v1/KeyBindingHelper.java similarity index 100% rename from common/legacy-fabric-keybindings-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/keybinding/v1/KeyBindingHelper.java rename to legacy-fabric-keybindings-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/keybinding/v1/KeyBindingHelper.java diff --git a/common/legacy-fabric-keybindings-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/client/keybinding/KeyBindingRegistryImpl.java b/legacy-fabric-keybindings-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/client/keybinding/KeyBindingRegistryImpl.java similarity index 100% rename from common/legacy-fabric-keybindings-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/client/keybinding/KeyBindingRegistryImpl.java rename to legacy-fabric-keybindings-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/client/keybinding/KeyBindingRegistryImpl.java diff --git a/common/legacy-fabric-keybindings-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/client/keybinding/GameOptionsMixin.java b/legacy-fabric-keybindings-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/client/keybinding/GameOptionsMixin.java similarity index 100% rename from common/legacy-fabric-keybindings-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/client/keybinding/GameOptionsMixin.java rename to legacy-fabric-keybindings-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/client/keybinding/GameOptionsMixin.java diff --git a/common/legacy-fabric-keybindings-api-v1-common/src/main/resources/assets/legacy-fabric-api/icon.png b/legacy-fabric-keybindings-api-v1/common/src/main/resources/assets/legacy-fabric-api/icon.png similarity index 100% rename from common/legacy-fabric-keybindings-api-v1-common/src/main/resources/assets/legacy-fabric-api/icon.png rename to legacy-fabric-keybindings-api-v1/common/src/main/resources/assets/legacy-fabric-api/icon.png diff --git a/common/legacy-fabric-keybindings-api-v1-common/src/main/resources/fabric.mod.json b/legacy-fabric-keybindings-api-v1/common/src/main/resources/fabric.mod.json similarity index 100% rename from common/legacy-fabric-keybindings-api-v1-common/src/main/resources/fabric.mod.json rename to legacy-fabric-keybindings-api-v1/common/src/main/resources/fabric.mod.json diff --git a/common/legacy-fabric-keybindings-api-v1-common/src/main/resources/legacy-fabric-keybinding-api-v1.mixins.json b/legacy-fabric-keybindings-api-v1/common/src/main/resources/legacy-fabric-keybinding-api-v1.mixins.json similarity index 100% rename from common/legacy-fabric-keybindings-api-v1-common/src/main/resources/legacy-fabric-keybinding-api-v1.mixins.json rename to legacy-fabric-keybindings-api-v1/common/src/main/resources/legacy-fabric-keybinding-api-v1.mixins.json diff --git a/settings.gradle b/settings.gradle index 821735faf..54cb7b1b6 100644 --- a/settings.gradle +++ b/settings.gradle @@ -33,6 +33,7 @@ loadProject("legacy-fabric-command-api-v1") loadProject("legacy-fabric-entity-events-v1") loadProject("legacy-fabric-gamerule-api-v1") loadProject("legacy-fabric-item-groups-v1") +loadProject("legacy-fabric-keybindings-api-v1") //include("common") //include("common:legacy-fabric-logger-api-v1")