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

Added a task to generate a split source manifest #14

Closed
wants to merge 2 commits into from

Conversation

shartte
Copy link
Contributor

@shartte shartte commented Dec 13, 2024

--task GENERATE_SPLIT_MANIFEST
--client client.jar
--server server.jar
--output MANIFEST.MF
[--mappings mappings.tsrg]

Generates:

Manifest-Version: 1.0

Name: pkg/NamedServerOnlyClass.class
Minecraft-Dist: server

Name: unobf/server_only.class
Minecraft-Dist: server

Name: asset/some_asset.json
Minecraft-Dist: client

Name: unobf/client_only.class
Minecraft-Dist: client

Name: pkg/NamedClientOnlyClass.class
Minecraft-Dist: client

@neoforged-pr-publishing
Copy link

neoforged-pr-publishing bot commented Dec 13, 2024

  • Publish PR to GitHub Packages

Last commit published: 5032bf37c6aa176a8f2a38b2f6b68b0a79c3c117.

PR Publishing

The artifacts published by this PR:

Repository Declaration

In order to use the artifacts published by the PR, add the following repository to your buildscript:

repositories {
    maven {
        name 'Maven for PR #14' // https://github.com/neoforged/InstallerTools/pull/14
        url 'https://prmaven.neoforged.net/InstallerTools/pr14'
        content {
            includeModule('net.neoforged.installertools', 'binarypatcher')
            includeModule('net.neoforged.installertools', 'installertools')
            includeModule('net.neoforged.installertools', 'jarsplitter')
            includeModule('net.neoforged.installertools', 'cli-utils')
            includeModule('net.neoforged.installertools', 'zipinject')
        }
    }
}

@shartte
Copy link
Contributor Author

shartte commented Dec 14, 2024

Will be replaced by generating the manifest directly in NeoGradle and NFRT

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