neoforged / NeoFormRuntime

GNU Lesser General Public License v2.1
2 stars 2 forks source link

Add detection of MC launcher installations and reuse libraries stored there #27

Closed shartte closed 4 months ago

shartte commented 4 months ago

Tries to find MC Launcher installations using a set of well known locations. This behavior is disabled in CI by default, by inspecting the relatively standard CI environment variable.

The asset manager will now use libraries found in launcher installations directly and not re-download or copy them.

This PR also refactors some of the shared service creation and moves it to the common argument class Main for easier reuse of individual services.

neoforged-pr-publishing[bot] commented 4 months ago

Last commit published: 23f2dcd6a1667ef5efa01835e3b15afef29e18ee.

PR Publishing ### The artifacts published by this PR: - :package: [`net.neoforged:neoform-runtime:0.1.83-pr-27-libraries`](https://github.com/neoforged/NeoFormRuntime/packages/2194257) ### Repository Declaration In order to use the artifacts published by the PR, add the following repository to your buildscript: ```gradle repositories { maven { name 'Maven for PR #27' // https://github.com/neoforged/NeoFormRuntime/pull/27 url 'https://prmaven.neoforged.net/NeoFormRuntime/pr27' content { includeModule('net.neoforged', 'neoform-runtime') } } } ```