Skip to content
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

Update to ModLauncher 10 on SpongeVanilla #4128

Merged
merged 15 commits into from
Sep 19, 2024
Merged

Conversation

Yeregorix
Copy link
Member

@Yeregorix Yeregorix commented Sep 1, 2024

Sponge | SpongeAPI

SpongeVanilla was still using ModLauncher 8 while SpongeForge is using ModLauncher 10. There are huge differences between these two versions. This PR solves this in order to facilitate future work related to ModLauncher and to properly support JPMS.

Notable changes:

  • Modern ModLauncher: JPMS support, module layers.
  • SV is packaged as jars in jar.
  • Plugin id character - is deprecated. A warning is added to both SV and SF.
  • Listener classes are transformed to obtain a privileged MethodHandles.Lookup.
  • plugin-spi has been modified. See SpongeAPI PR.
  • Removed the java agent.
  • Removed modlauncher-patcher project (hack to force upgrade ASM).
  • Reduced jar size (more libs downloaded at runtime).
  • Buildscripts cleanup.

@Yeregorix Yeregorix merged commit 1e8c366 into api-12 Sep 19, 2024
10 checks passed
@Yeregorix Yeregorix deleted the api12/update-sv-ml branch September 19, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant