Skip to content

Commit

Permalink
Improve moduleDependencies notation
Browse files Browse the repository at this point in the history
  • Loading branch information
thecatcore committed Feb 7, 2024
1 parent 2b8acba commit d72e84c
Show file tree
Hide file tree
Showing 52 changed files with 510 additions and 296 deletions.
14 changes: 9 additions & 5 deletions 1.10.2/legacy-fabric-registry-sync-api-v1/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
version = getSubprojectVersion(project)

moduleDependencies(project, [
'common:legacy-fabric-api-base-common',
'common:legacy-fabric-networking-api-v1-common',
'common:legacy-fabric-registry-sync-api-v1-common',
'common:legacy-fabric-resource-loader-v1-common',
'1.8.9:legacy-fabric-api-base'
"common": [
"legacy-fabric-api-base-common",
"legacy-fabric-networking-api-v1-common",
"legacy-fabric-registry-sync-api-v1-common",
"legacy-fabric-resource-loader-v1-common"
],
"1.8.9": [
"legacy-fabric-api-base"
]
])
4 changes: 3 additions & 1 deletion 1.10.2/legacy-fabric-resource-loader-v1/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
version = getSubprojectVersion(project)

moduleDependencies(project, [
"common:legacy-fabric-resource-loader-v1-common"
"common": [
"legacy-fabric-resource-loader-v1-common"
]
])
60 changes: 35 additions & 25 deletions 1.10.2/legacyfabric-api/build.gradle
Original file line number Diff line number Diff line change
@@ -1,29 +1,39 @@
version = getSubprojectVersion(project)

moduleDependencies(project, [
'common:legacy-fabric-api-base-common',
'common:legacy-fabric-command-api-v1',
'common:legacy-fabric-entity-events-v1-common',
'common:legacy-fabric-gamerule-api-v1',
'common:legacy-fabric-item-groups-v1-common',
'common:legacy-fabric-keybindings-api-v1-common',
'common:legacy-fabric-lifecycle-events-v1-common',
'common:legacy-fabric-logger-api-v1',
'common:legacy-fabric-networking-api-v1-common',
'common:legacy-fabric-permissions-api-v1-common',
'common:legacy-fabric-registry-sync-api-v1-common',
'common:legacy-fabric-rendering-api-v1-common',
'common:legacy-fabric-resource-loader-v1-common',
'1.8.9:legacy-fabric-api-base',
'1.12.2:legacy-fabric-command-api-v2',
'1.8.9:legacy-fabric-crash-report-info-v1',
'1.9.4:legacy-fabric-entity-events-v1',
'1.8.9:legacy-fabric-item-groups-v1',
'1.12.2:legacy-fabric-lifecycle-events-v1',
'1.8.9:legacy-fabric-permissions-api-v1',
'1.10.2:legacy-fabric-resource-loader-v1',
'1.8.9:legacy-fabric-keybindings-api-v1',
'1.10.2:legacy-fabric-registry-sync-api-v1',
'1.12.2:legacy-fabric-networking-api-v1',
'1.8.9:legacy-fabric-rendering-api-v1'
"common": [
"legacy-fabric-api-base-common",
"legacy-fabric-command-api-v1",
"legacy-fabric-entity-events-v1-common",
"legacy-fabric-gamerule-api-v1",
"legacy-fabric-item-groups-v1-common",
"legacy-fabric-keybindings-api-v1-common",
"legacy-fabric-lifecycle-events-v1-common",
"legacy-fabric-logger-api-v1",
"legacy-fabric-networking-api-v1-common",
"legacy-fabric-permissions-api-v1-common",
"legacy-fabric-registry-sync-api-v1-common",
"legacy-fabric-rendering-api-v1-common",
"legacy-fabric-resource-loader-v1-common"
],
"1.8.9": [
"legacy-fabric-api-base",
"legacy-fabric-crash-report-info-v1",
"legacy-fabric-item-groups-v1",
"legacy-fabric-permissions-api-v1",
"legacy-fabric-keybindings-api-v1",
"legacy-fabric-rendering-api-v1"
],
"1.9.4": [
"legacy-fabric-entity-events-v1"
],
"1.10.2": [
"legacy-fabric-resource-loader-v1",
"legacy-fabric-registry-sync-api-v1"
],
"1.12.2": [
"legacy-fabric-command-api-v2",
"legacy-fabric-lifecycle-events-v1",
"legacy-fabric-networking-api-v1"
]
])
60 changes: 35 additions & 25 deletions 1.11.2/legacyfabric-api/build.gradle
Original file line number Diff line number Diff line change
@@ -1,29 +1,39 @@
version = getSubprojectVersion(project)

moduleDependencies(project, [
'common:legacy-fabric-api-base-common',
'common:legacy-fabric-command-api-v1',
'common:legacy-fabric-entity-events-v1-common',
'common:legacy-fabric-gamerule-api-v1',
'common:legacy-fabric-item-groups-v1-common',
'common:legacy-fabric-keybindings-api-v1-common',
'common:legacy-fabric-lifecycle-events-v1-common',
'common:legacy-fabric-logger-api-v1',
'common:legacy-fabric-networking-api-v1-common',
'common:legacy-fabric-permissions-api-v1-common',
'common:legacy-fabric-registry-sync-api-v1-common',
'common:legacy-fabric-rendering-api-v1-common',
'common:legacy-fabric-resource-loader-v1-common',
'1.8.9:legacy-fabric-api-base',
'1.12.2:legacy-fabric-command-api-v2',
'1.8.9:legacy-fabric-crash-report-info-v1',
'1.9.4:legacy-fabric-entity-events-v1',
'1.12.2:legacy-fabric-item-groups-v1',
'1.12.2:legacy-fabric-lifecycle-events-v1',
'1.8.9:legacy-fabric-permissions-api-v1',
'1.10.2:legacy-fabric-resource-loader-v1',
'1.8.9:legacy-fabric-keybindings-api-v1',
'1.12.2:legacy-fabric-registry-sync-api-v1',
'1.12.2:legacy-fabric-networking-api-v1',
'1.8.9:legacy-fabric-rendering-api-v1'
"common": [
"legacy-fabric-api-base-common",
"legacy-fabric-command-api-v1",
"legacy-fabric-entity-events-v1-common",
"legacy-fabric-gamerule-api-v1",
"legacy-fabric-item-groups-v1-common",
"legacy-fabric-keybindings-api-v1-common",
"legacy-fabric-lifecycle-events-v1-common",
"legacy-fabric-logger-api-v1",
"legacy-fabric-networking-api-v1-common",
"legacy-fabric-permissions-api-v1-common",
"legacy-fabric-registry-sync-api-v1-common",
"legacy-fabric-rendering-api-v1-common",
"legacy-fabric-resource-loader-v1-common"
],
"1.8.9": [
"legacy-fabric-api-base",
"legacy-fabric-crash-report-info-v1",
"legacy-fabric-permissions-api-v1",
"legacy-fabric-keybindings-api-v1",
"legacy-fabric-rendering-api-v1"
],
"1.9.4": [
"legacy-fabric-entity-events-v1"
],
"1.10.2": [
"legacy-fabric-resource-loader-v1"
],
"1.12.2": [
"legacy-fabric-command-api-v2",
"legacy-fabric-item-groups-v1",
"legacy-fabric-lifecycle-events-v1",
"legacy-fabric-registry-sync-api-v1",
"legacy-fabric-networking-api-v1"
]
])
12 changes: 8 additions & 4 deletions 1.12.2/legacy-fabric-command-api-v2/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
version = getSubprojectVersion(project)

moduleDependencies(project, [
'common:legacy-fabric-api-base-common',
'1.8.9:legacy-fabric-api-base',
'common:legacy-fabric-command-api-v1',
'1.8.9:legacy-fabric-permissions-api-v1'
"common": [
"legacy-fabric-api-base-common",
"legacy-fabric-command-api-v1"
],
"1.8.9": [
"legacy-fabric-api-base",
"legacy-fabric-permissions-api-v1"
]
])
6 changes: 4 additions & 2 deletions 1.12.2/legacy-fabric-entity-events-v1/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
version = getSubprojectVersion(project)

moduleDependencies(project, [
'common:legacy-fabric-api-base-common',
'common:legacy-fabric-entity-events-v1-common'
"common": [
"legacy-fabric-api-base-common",
"legacy-fabric-entity-events-v1-common"
]
])
4 changes: 3 additions & 1 deletion 1.12.2/legacy-fabric-item-groups-v1/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
version = getSubprojectVersion(project)

moduleDependencies(project, [
"common:legacy-fabric-item-groups-v1-common"
"common": [
"legacy-fabric-item-groups-v1-common"
]
])
6 changes: 4 additions & 2 deletions 1.12.2/legacy-fabric-lifecycle-events-v1/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
version = getSubprojectVersion(project)

moduleDependencies(project, [
'common:legacy-fabric-api-base-common',
'common:legacy-fabric-lifecycle-events-v1-common'
"common": [
"legacy-fabric-api-base-common",
"legacy-fabric-lifecycle-events-v1-common"
]
])
6 changes: 4 additions & 2 deletions 1.12.2/legacy-fabric-networking-api-v1/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
version = getSubprojectVersion(project)

moduleDependencies(project, [
'common:legacy-fabric-api-base-common',
'common:legacy-fabric-networking-api-v1-common'
"common": [
"legacy-fabric-api-base-common",
"legacy-fabric-networking-api-v1-common"
]
])
14 changes: 9 additions & 5 deletions 1.12.2/legacy-fabric-registry-sync-api-v1/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
version = getSubprojectVersion(project)

moduleDependencies(project, [
'common:legacy-fabric-api-base-common',
'common:legacy-fabric-networking-api-v1-common',
'common:legacy-fabric-registry-sync-api-v1-common',
'common:legacy-fabric-resource-loader-v1-common',
'1.8.9:legacy-fabric-api-base'
"common": [
"legacy-fabric-api-base-common",
"legacy-fabric-networking-api-v1-common",
"legacy-fabric-registry-sync-api-v1-common",
"legacy-fabric-resource-loader-v1-common"
],
"1.8.9": [
"legacy-fabric-api-base"
]
])
4 changes: 3 additions & 1 deletion 1.12.2/legacy-fabric-resource-loader-v1/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
version = getSubprojectVersion(project)

moduleDependencies(project, [
"common:legacy-fabric-resource-loader-v1-common"
"common": [
"legacy-fabric-resource-loader-v1-common"
]
])
56 changes: 31 additions & 25 deletions 1.12.2/legacyfabric-api/build.gradle
Original file line number Diff line number Diff line change
@@ -1,29 +1,35 @@
version = getSubprojectVersion(project)

moduleDependencies(project, [
'common:legacy-fabric-api-base-common',
'common:legacy-fabric-command-api-v1',
'common:legacy-fabric-entity-events-v1-common',
'common:legacy-fabric-gamerule-api-v1',
'common:legacy-fabric-item-groups-v1-common',
'common:legacy-fabric-keybindings-api-v1-common',
'common:legacy-fabric-lifecycle-events-v1-common',
'common:legacy-fabric-logger-api-v1',
'common:legacy-fabric-networking-api-v1-common',
'common:legacy-fabric-permissions-api-v1-common',
'common:legacy-fabric-registry-sync-api-v1-common',
'common:legacy-fabric-rendering-api-v1-common',
'common:legacy-fabric-resource-loader-v1-common',
'1.8.9:legacy-fabric-api-base',
'1.12.2:legacy-fabric-command-api-v2',
'1.8.9:legacy-fabric-crash-report-info-v1',
'1.12.2:legacy-fabric-entity-events-v1',
'1.12.2:legacy-fabric-item-groups-v1',
'1.12.2:legacy-fabric-lifecycle-events-v1',
'1.8.9:legacy-fabric-permissions-api-v1',
'1.12.2:legacy-fabric-resource-loader-v1',
'1.8.9:legacy-fabric-keybindings-api-v1',
'1.12.2:legacy-fabric-registry-sync-api-v1',
'1.12.2:legacy-fabric-networking-api-v1',
'1.8.9:legacy-fabric-rendering-api-v1'
"common": [
"legacy-fabric-api-base-common",
"legacy-fabric-command-api-v1",
"legacy-fabric-entity-events-v1-common",
"legacy-fabric-gamerule-api-v1",
"legacy-fabric-item-groups-v1-common",
"legacy-fabric-keybindings-api-v1-common",
"legacy-fabric-lifecycle-events-v1-common",
"legacy-fabric-logger-api-v1",
"legacy-fabric-networking-api-v1-common",
"legacy-fabric-permissions-api-v1-common",
"legacy-fabric-registry-sync-api-v1-common",
"legacy-fabric-rendering-api-v1-common",
"legacy-fabric-resource-loader-v1-common"
],
"1.8.9": [
"legacy-fabric-api-base",
"legacy-fabric-crash-report-info-v1",
"legacy-fabric-permissions-api-v1",
"legacy-fabric-keybindings-api-v1",
"legacy-fabric-rendering-api-v1"
],
"1.12.2": [
"legacy-fabric-command-api-v2",
"legacy-fabric-entity-events-v1",
"legacy-fabric-item-groups-v1",
"legacy-fabric-lifecycle-events-v1",
"legacy-fabric-resource-loader-v1",
"legacy-fabric-registry-sync-api-v1",
"legacy-fabric-networking-api-v1"
]
])
56 changes: 31 additions & 25 deletions 1.13.2/legacyfabric-api/build.gradle
Original file line number Diff line number Diff line change
@@ -1,29 +1,35 @@
version = getSubprojectVersion(project)

moduleDependencies(project, [
'common:legacy-fabric-api-base-common',
// 'common:legacy-fabric-command-api-v1',
'common:legacy-fabric-entity-events-v1-common',
'common:legacy-fabric-gamerule-api-v1',
// 'common:legacy-fabric-item-groups-v1-common',
'common:legacy-fabric-keybindings-api-v1-common',
'common:legacy-fabric-lifecycle-events-v1-common',
'common:legacy-fabric-logger-api-v1',
// 'common:legacy-fabric-networking-api-v1-common',
// 'common:legacy-fabric-permissions-api-v1-common',
// 'common:legacy-fabric-registry-sync-api-v1-common',
// 'common:legacy-fabric-rendering-api-v1-common',
'common:legacy-fabric-resource-loader-v1-common',
'1.8.9:legacy-fabric-api-base',
// '1.12.2:legacy-fabric-command-api-v2',
'1.8.9:legacy-fabric-crash-report-info-v1',
// '1.12.2:legacy-fabric-entity-events-v1',
// '1.12.2:legacy-fabric-item-groups-v1',
// '1.12.2:legacy-fabric-lifecycle-events-v1',
// '1.8.9:legacy-fabric-permissions-api-v1',
// '1.12.2:legacy-fabric-resource-loader-v1',
// '1.8.9:legacy-fabric-keybindings-api-v1',
// '1.8.9:legacy-fabric-registry-sync-api-v1',
// '1.12.2:legacy-fabric-networking-api-v1',
// '1.8.9:legacy-fabric-rendering-api-v1'
"common": [
"legacy-fabric-api-base-common",
// "legacy-fabric-command-api-v1",
"legacy-fabric-entity-events-v1-common",
"legacy-fabric-gamerule-api-v1",
// "legacy-fabric-item-groups-v1-common",
"legacy-fabric-keybindings-api-v1-common",
"legacy-fabric-lifecycle-events-v1-common",
"legacy-fabric-logger-api-v1",
// "legacy-fabric-networking-api-v1-common",
// "legacy-fabric-permissions-api-v1-common",
// "legacy-fabric-registry-sync-api-v1-common",
// "legacy-fabric-rendering-api-v1-common",
"legacy-fabric-resource-loader-v1-common"
],
"1.8.9": [
"legacy-fabric-api-base",
"legacy-fabric-crash-report-info-v1",
// "legacy-fabric-permissions-api-v1",
// "legacy-fabric-keybindings-api-v1",
// "legacy-fabric-registry-sync-api-v1",
// "legacy-fabric-rendering-api-v1"
],
"1.12.2": [
// "legacy-fabric-command-api-v2",
// "legacy-fabric-entity-events-v1",
// "legacy-fabric-item-groups-v1",
// "legacy-fabric-lifecycle-events-v1",
// "legacy-fabric-resource-loader-v1"
// "legacy-fabric-networking-api-v1"
]
])
4 changes: 3 additions & 1 deletion 1.7.10/legacy-fabric-api-base/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
version = getSubprojectVersion(project)

moduleDependencies(project, [
'common:legacy-fabric-api-base-common'
"common": [
"legacy-fabric-api-base-common"
]
])
14 changes: 10 additions & 4 deletions 1.7.10/legacy-fabric-command-api-v2/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
version = getSubprojectVersion(project)

moduleDependencies(project, [
'common:legacy-fabric-api-base-common',
'1.7.10:legacy-fabric-api-base',
'common:legacy-fabric-command-api-v1',
'1.8.9:legacy-fabric-permissions-api-v1'
"common": [
"legacy-fabric-api-base-common",
"legacy-fabric-command-api-v1"
],
"1.7.10": [
"legacy-fabric-api-base"
],
"1.8.9": [
"legacy-fabric-permissions-api-v1"
]
])
Loading

0 comments on commit d72e84c

Please sign in to comment.