-
-
Notifications
You must be signed in to change notification settings - Fork 34
Auto-generate mixin configs #305
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
Auto-generate mixin configs #305
Conversation
|
I can test it easily by checking that it generates the same JSON as the previous approach. No victims required. |
|
RemapJar task originally didn't take the JSON. (Hence the hack into resource sourceset) |
dd0a2c0 to
a18011f
Compare
8a47f47 to
43dc5b7
Compare
a9d2017 to
dab2570
Compare
|
Ready. (Merge conflicts incoming for later branches...) |
8894482 to
9770d55
Compare
...e/src/main/java/org/embeddedt/modernfix/forge/mixin/perf/async_locator/EyeOfEnderAccess.java
Outdated
Show resolved
Hide resolved
- Takes two compiler arguments: -ArootProject.name and an optional -Aproject.name
Use fabric mixin dependency Enable preview features for annotation processor only
- Prefer TypeElements over TypeMirrors - Add debug option to log classes that couldn't be loaded - Reorganize exception logging
Halt AP on exception
This reverts commit 1105830.
Dependency rework Remove class shunting hack
There is no way to prevent the relocator transformation so we depend on the unshadowed project that pulls the shadowed project Cleanup client validator shadow jar
Fix shadowed unbundled dependencies
Refactor AP detection
More cleanup and change equality checks
1b5fd4b to
cfae648
Compare
embeddedt
left a comment
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.
Very good work; I'm very happy with this. Tested locally and the generated mixin list is identical to my original hack, except it properly splits client mixins into the client list.
I just have one last question before merging.
(At some point, we might consider moving this into a standalone plugin so that it can be used by other projects.)
Resolves #297
1 (or 2?) ugly hack since AP output API doesn't have anything for resources
On the positive side, the directory scanning hack is dead.
Get victims to test whether or not it explodes@ClientOnlyMixin