mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-30 13:05:27 -05:00
Change how include disables transitive dependencies to allow platform dependencies to work (#838)
* Change how `include` disables transitive dependencies to allow platform dependencies to work * style fix * Cleanup and add test * spotlessApply --------- Co-authored-by: modmuss50 <modmuss50@gmail.com>
This commit is contained in:
@@ -81,7 +81,8 @@ public abstract class LoomConfigurations implements Runnable {
|
||||
registerNonTransitive(Constants.Configurations.LOADER_DEPENDENCIES, Role.RESOLVABLE);
|
||||
|
||||
registerNonTransitive(Constants.Configurations.MINECRAFT, Role.NONE);
|
||||
registerNonTransitive(Constants.Configurations.INCLUDE, Role.RESOLVABLE);
|
||||
// We don't need to make this non-transitive due to the way we resolve it. Also, doing so would break platform dependencies.
|
||||
register(Constants.Configurations.INCLUDE, Role.RESOLVABLE);
|
||||
registerNonTransitive(Constants.Configurations.MAPPING_CONSTANTS, Role.RESOLVABLE);
|
||||
|
||||
register(Constants.Configurations.NAMED_ELEMENTS, Role.CONSUMABLE).configure(configuration -> {
|
||||
|
||||
Reference in New Issue
Block a user