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.
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')
}
}
}
```
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.