From 59147463cc7868365582eb5588d6fbe1a446a626 Mon Sep 17 00:00:00 2001 From: asie Date: Fri, 17 May 2019 23:08:53 +0200 Subject: [PATCH] add proper depends lists to mods --- fabric-api-base/src/main/resources/fabric.mod.json | 5 ++++- fabric-commands-v0/src/main/resources/fabric.mod.json | 4 ++++ fabric-containers-v0/src/main/resources/fabric.mod.json | 5 +++++ .../src/main/resources/fabric.mod.json | 5 +++++ .../src/main/resources/fabric.mod.json | 3 +++ .../src/main/resources/fabric.mod.json | 4 ++++ .../src/main/resources/fabric.mod.json | 4 ++++ fabric-item-groups-v0/build.gradle | 1 + fabric-item-groups-v0/src/main/resources/fabric.mod.json | 5 +++++ fabric-keybindings-v0/src/main/resources/fabric.mod.json | 4 ++++ fabric-mining-levels-v0/src/main/resources/fabric.mod.json | 5 +++++ fabric-models-v0/src/main/resources/fabric.mod.json | 4 ++++ .../src/main/resources/fabric.mod.json | 4 ++++ .../src/main/resources/fabric.mod.json | 5 +++++ fabric-registry-sync-v0/src/main/resources/fabric.mod.json | 5 +++++ fabric-rendering-v0/src/main/resources/fabric.mod.json | 4 ++++ .../src/main/resources/fabric.mod.json | 3 +++ .../src/main/resources/fabric.mod.json | 7 ++++++- fabric-textures-v0/src/main/resources/fabric.mod.json | 4 ++++ 19 files changed, 79 insertions(+), 2 deletions(-) diff --git a/fabric-api-base/src/main/resources/fabric.mod.json b/fabric-api-base/src/main/resources/fabric.mod.json index ce88ff7eb..5c5c20eb5 100644 --- a/fabric-api-base/src/main/resources/fabric.mod.json +++ b/fabric-api-base/src/main/resources/fabric.mod.json @@ -2,5 +2,8 @@ "schemaVersion": 1, "id": "fabric-api-base", "version": "${version}", - "license": "Apache-2.0" + "license": "Apache-2.0", + "depends": { + "fabricloader": ">=0.4.0" + } } diff --git a/fabric-commands-v0/src/main/resources/fabric.mod.json b/fabric-commands-v0/src/main/resources/fabric.mod.json index 88a5c3e60..a6ca4b0fd 100644 --- a/fabric-commands-v0/src/main/resources/fabric.mod.json +++ b/fabric-commands-v0/src/main/resources/fabric.mod.json @@ -3,6 +3,10 @@ "id": "fabric-commands-v0", "version": "${version}", "license": "Apache-2.0", + "depends": { + "fabricloader": ">=0.4.0", + "fabric-api-base": "*" + }, "mixins": [ "fabric-commands-v0.mixins.json" ] diff --git a/fabric-containers-v0/src/main/resources/fabric.mod.json b/fabric-containers-v0/src/main/resources/fabric.mod.json index 0b7d55c13..ddbf50cae 100644 --- a/fabric-containers-v0/src/main/resources/fabric.mod.json +++ b/fabric-containers-v0/src/main/resources/fabric.mod.json @@ -3,6 +3,11 @@ "id": "fabric-containers-v0", "version": "${version}", "license": "Apache-2.0", + "depends": { + "fabricloader": ">=0.4.0", + "fabric-api-base": "*", + "fabric-networking-v0": "*" + }, "mixins": [ "fabric-containers-v0.mixins.json" ], diff --git a/fabric-content-registries-v0/src/main/resources/fabric.mod.json b/fabric-content-registries-v0/src/main/resources/fabric.mod.json index 62bd8c813..82a83ecad 100644 --- a/fabric-content-registries-v0/src/main/resources/fabric.mod.json +++ b/fabric-content-registries-v0/src/main/resources/fabric.mod.json @@ -3,6 +3,11 @@ "id": "fabric-content-registries-v0", "version": "${version}", "license": "Apache-2.0", + "depends": { + "fabricloader": ">=0.4.0", + "fabric-api-base": "*", + "fabric-resource-loader-v0": "*" + }, "mixins": [ "fabric-content-registries-v0.mixins.json" ] diff --git a/fabric-crash-report-info-v1/src/main/resources/fabric.mod.json b/fabric-crash-report-info-v1/src/main/resources/fabric.mod.json index 7cfd585a3..f6ac6a608 100644 --- a/fabric-crash-report-info-v1/src/main/resources/fabric.mod.json +++ b/fabric-crash-report-info-v1/src/main/resources/fabric.mod.json @@ -3,6 +3,9 @@ "id": "fabric-crash-report-info-v1", "version": "${version}", "license": "Apache-2.0", + "depends": { + "fabricloader": ">=0.4.0" + }, "mixins": [ "fabric-crash-report-info-v1.mixins.json" ] diff --git a/fabric-events-interaction-v0/src/main/resources/fabric.mod.json b/fabric-events-interaction-v0/src/main/resources/fabric.mod.json index 7c3c21a88..dacba7ae7 100644 --- a/fabric-events-interaction-v0/src/main/resources/fabric.mod.json +++ b/fabric-events-interaction-v0/src/main/resources/fabric.mod.json @@ -3,6 +3,10 @@ "id": "fabric-events-interaction-v0", "version": "${version}", "license": "Apache-2.0", + "depends": { + "fabricloader": ">=0.4.0", + "fabric-api-base": "*" + }, "entrypoints": { "main": [ "net.fabricmc.fabric.impl.event.InteractionEventsRouter" diff --git a/fabric-events-lifecycle-v0/src/main/resources/fabric.mod.json b/fabric-events-lifecycle-v0/src/main/resources/fabric.mod.json index c5952ed5f..c55359f7a 100644 --- a/fabric-events-lifecycle-v0/src/main/resources/fabric.mod.json +++ b/fabric-events-lifecycle-v0/src/main/resources/fabric.mod.json @@ -3,6 +3,10 @@ "id": "fabric-events-lifecycle-v0", "version": "${version}", "license": "Apache-2.0", + "depends": { + "fabricloader": ">=0.4.0", + "fabric-api-base": "*" + }, "mixins": [ "fabric-events-lifecycle-v0.mixins.json" ] diff --git a/fabric-item-groups-v0/build.gradle b/fabric-item-groups-v0/build.gradle index 5add3010c..1ae9a2674 100644 --- a/fabric-item-groups-v0/build.gradle +++ b/fabric-item-groups-v0/build.gradle @@ -2,5 +2,6 @@ archivesBaseName = "fabric-item-groups-v0" version = getSubprojectVersion(project, "0.1.0") dependencies { + compile project(path: ':fabric-api-base', configuration: 'dev') compile project(path: ':fabric-resource-loader-v0', configuration: 'dev') } diff --git a/fabric-item-groups-v0/src/main/resources/fabric.mod.json b/fabric-item-groups-v0/src/main/resources/fabric.mod.json index 443d4df03..437cc1e9a 100644 --- a/fabric-item-groups-v0/src/main/resources/fabric.mod.json +++ b/fabric-item-groups-v0/src/main/resources/fabric.mod.json @@ -3,6 +3,11 @@ "id": "fabric-item-groups-v0", "version": "${version}", "license": "Apache-2.0", + "depends": { + "fabricloader": ">=0.4.0", + "fabric-api-base": "*", + "fabric-resource-loader-v0": "*" + }, "mixins": [ "fabric-item-groups-v0.mixins.json" ] diff --git a/fabric-keybindings-v0/src/main/resources/fabric.mod.json b/fabric-keybindings-v0/src/main/resources/fabric.mod.json index c5da09f43..2bfacb5f2 100644 --- a/fabric-keybindings-v0/src/main/resources/fabric.mod.json +++ b/fabric-keybindings-v0/src/main/resources/fabric.mod.json @@ -3,6 +3,10 @@ "id": "fabric-keybindings-v0", "version": "${version}", "license": "Apache-2.0", + "depends": { + "fabricloader": ">=0.4.0", + "fabric-api-base": "*" + }, "mixins": [ "fabric-keybindings-v0.mixins.json" ] diff --git a/fabric-mining-levels-v0/src/main/resources/fabric.mod.json b/fabric-mining-levels-v0/src/main/resources/fabric.mod.json index 5f031847a..5bdb161ff 100644 --- a/fabric-mining-levels-v0/src/main/resources/fabric.mod.json +++ b/fabric-mining-levels-v0/src/main/resources/fabric.mod.json @@ -3,6 +3,11 @@ "id": "fabric-mining-levels-v0", "version": "${version}", "license": "Apache-2.0", + "depends": { + "fabricloader": ">=0.4.0", + "fabric-api-base": "*", + "fabric-tag-extensions-v0": "*" + }, "mixins": [ "fabric-mining-levels-v0.mixins.json" ] diff --git a/fabric-models-v0/src/main/resources/fabric.mod.json b/fabric-models-v0/src/main/resources/fabric.mod.json index 3c361e4e4..b7d74aede 100644 --- a/fabric-models-v0/src/main/resources/fabric.mod.json +++ b/fabric-models-v0/src/main/resources/fabric.mod.json @@ -4,6 +4,10 @@ "version": "${version}", "license": "Apache-2.0", "environment": "client", + "depends": { + "fabricloader": ">=0.4.0", + "fabric-api-base": "*" + }, "mixins": [ "fabric-models-v0.mixins.json" ] diff --git a/fabric-networking-blockentity-v0/src/main/resources/fabric.mod.json b/fabric-networking-blockentity-v0/src/main/resources/fabric.mod.json index 8aaf46c8a..0b03c3584 100644 --- a/fabric-networking-blockentity-v0/src/main/resources/fabric.mod.json +++ b/fabric-networking-blockentity-v0/src/main/resources/fabric.mod.json @@ -3,6 +3,10 @@ "id": "fabric-networking-blockentity-v0", "version": "${version}", "license": "Apache-2.0", + "depends": { + "fabricloader": ">=0.4.0", + "fabric-api-base": "*" + }, "mixins": [ "fabric-networking-blockentity-v0.mixins.json" ] diff --git a/fabric-object-builders-v0/src/main/resources/fabric.mod.json b/fabric-object-builders-v0/src/main/resources/fabric.mod.json index 07ea7d3fa..968cad8f9 100644 --- a/fabric-object-builders-v0/src/main/resources/fabric.mod.json +++ b/fabric-object-builders-v0/src/main/resources/fabric.mod.json @@ -3,6 +3,11 @@ "id": "fabric-object-builders-v0", "version": "${version}", "license": "Apache-2.0", + "depends": { + "fabricloader": ">=0.4.0", + "fabric-api-base": "*", + "fabric-mining-levels-v0": "*" + }, "mixins": [ "fabric-object-builders-v0.mixins.json" ] diff --git a/fabric-registry-sync-v0/src/main/resources/fabric.mod.json b/fabric-registry-sync-v0/src/main/resources/fabric.mod.json index 7623f3dc2..793516f1b 100644 --- a/fabric-registry-sync-v0/src/main/resources/fabric.mod.json +++ b/fabric-registry-sync-v0/src/main/resources/fabric.mod.json @@ -3,6 +3,11 @@ "id": "fabric-registry-sync-v0", "version": "${version}", "license": "Apache-2.0", + "depends": { + "fabricloader": ">=0.4.0", + "fabric-api-base": "*", + "fabric-networking-v0": "*" + }, "mixins": [ "fabric-registry-sync-v0.mixins.json" ], diff --git a/fabric-rendering-v0/src/main/resources/fabric.mod.json b/fabric-rendering-v0/src/main/resources/fabric.mod.json index 1ddf0ec12..f9a6c6212 100644 --- a/fabric-rendering-v0/src/main/resources/fabric.mod.json +++ b/fabric-rendering-v0/src/main/resources/fabric.mod.json @@ -3,6 +3,10 @@ "id": "fabric-rendering-v0", "version": "${version}", "license": "Apache-2.0", + "depends": { + "fabricloader": ">=0.4.0", + "fabric-api-base": "*" + }, "mixins": [ "fabric-rendering-v0.mixins.json" ] diff --git a/fabric-resource-loader-v0/src/main/resources/fabric.mod.json b/fabric-resource-loader-v0/src/main/resources/fabric.mod.json index f050ddf2d..7b59fef3f 100644 --- a/fabric-resource-loader-v0/src/main/resources/fabric.mod.json +++ b/fabric-resource-loader-v0/src/main/resources/fabric.mod.json @@ -3,6 +3,9 @@ "id": "fabric-resource-loader-v0", "version": "${version}", "license": "Apache-2.0", + "depends": { + "fabricloader": ">=0.4.0" + }, "mixins": [ "fabric-resource-loader-v0.mixins.json" ] diff --git a/fabric-tag-extensions-v0/src/main/resources/fabric.mod.json b/fabric-tag-extensions-v0/src/main/resources/fabric.mod.json index 186c6e81c..3e949c986 100644 --- a/fabric-tag-extensions-v0/src/main/resources/fabric.mod.json +++ b/fabric-tag-extensions-v0/src/main/resources/fabric.mod.json @@ -2,5 +2,10 @@ "schemaVersion": 1, "id": "fabric-tag-extensions-v0", "version": "${version}", - "license": "Apache-2.0" + "license": "Apache-2.0", + "depends": { + "fabricloader": ">=0.4.0", + "fabric-api-base": "*", + "fabric-resource-loader-v0": "*" + } } diff --git a/fabric-textures-v0/src/main/resources/fabric.mod.json b/fabric-textures-v0/src/main/resources/fabric.mod.json index e58b18001..852942f7f 100644 --- a/fabric-textures-v0/src/main/resources/fabric.mod.json +++ b/fabric-textures-v0/src/main/resources/fabric.mod.json @@ -4,6 +4,10 @@ "version": "${version}", "license": "Apache-2.0", "environment": "client", + "depends": { + "fabricloader": ">=0.4.0", + "fabric-api-base": "*" + }, "mixins": [ "fabric-textures-v0.mixins.json" ]