-
-
Notifications
You must be signed in to change notification settings - Fork 13
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 full Cleanroom library filter #124
base: main
Are you sure you want to change the base?
Conversation
"org.lwjgl.lwjgl:lwjgl-platform:2.9.4-nightly-20150209", | ||
"org.lwjgl.lwjgl:lwjgl:2.9.4-nightly-20150209", | ||
"org.lwjgl.lwjgl:lwjgl_util:2.9.4-nightly-20150209" | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libraries that are just version changes (as in the package doesn't change, etc) don't need to be on this list; gradle will just use the most updated one.
therefore you can probably omit version numbers, except for lwjgl I guess. if you use vanillaExclude.any { library.name.startswith(it) }
for the filter below
return null | ||
} | ||
if (name.startsWith("org.lwjgl") && name.split(":").size > 3) { | ||
if (!name.split(":")[2].endsWith(lwjglClassifier)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this'll ever be hit by the vanilla client json, because it uses library.natives
and doesn't put them top level
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder in which step it downloads natives though
Since both old and new version of many libraries exist, I had to filter them by version