-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dependency overrides #214
Conversation
Last commit published: 079682bd84a6148039eafc0ea7326a755b7145a8. PR PublishingThe artifacts published by this PR:
Repository DeclarationIn order to use the artifacts published by the PR, add the following repository to your buildscript: repositories {
maven {
name 'Maven for PR #214' // https://github.com/neoforged/FancyModLoader/pull/214
url 'https://prmaven.neoforged.net/FancyModLoader/pr214'
content {
includeModule('net.neoforged.fancymodloader', 'tests')
includeModule('net.neoforged.fancymodloader', 'loader')
includeModule('net.neoforged.fancymodloader', 'junit-fml')
includeModule('net.neoforged.fancymodloader', 'earlydisplay')
}
}
} |
“dependencyOverries” |
Simple and you even added tests! <3 |
@Matyrobbrt, this pull request has conflicts, please resolve them for this PR to move forward. |
🚀 This PR has been released as FancyModLoader version |
This implements a simple system that allows users to override dependency constraints using the fml config by adding an entry as follows:
Minus can be used to soften dependency constraints (version range becomes unbounded, type becomes optional, but the ordering stays the same) and plus can be used to add an ordering dependency (the target mod will load AFTER the dependency)
All overrides are marked in the log at WARN level for visibility.
Closes #52