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

Publish mappings #103

Open
solonovamax opened this issue Mar 8, 2025 · 3 comments
Open

Publish mappings #103

solonovamax opened this issue Mar 8, 2025 · 3 comments

Comments

@solonovamax
Copy link

Hi,

I would like to be able to use the mappings in a project, and it would help a lot if the mappings could be published in some form.

This could either be to a maven-like repository (which can be used via a custom ivy repository layout in gradle), a 'true' maven repositiry, or done through github releases (all of the json & nbt files should be attached as "artifacts" to each release)

@solonovamax
Copy link
Author

Also, could generator_blocks.json from GeyserMC/mappings-generator be included in this repo as well?

@rtm516
Copy link
Member

rtm516 commented Mar 9, 2025

In Geyser we just use this as a submodule, that's likely the best way for you to go

@solonovamax
Copy link
Author

solonovamax commented Mar 9, 2025

In Geyser we just use this as a submodule, that's likely the best way for you to go

git submodules are yucky and cause lots of problems. it is much easier to download this either in a gradle task or as a dependency.

here is how I'm currently doing it, though I would prefer something where we can instead rely on a named version (ie. git tag, named github release, maven release, etc.):
https://github.com/solonovamax/Terra/blob/d8fb1ce873b6cc780bdc6a0424e0fcac0663d675/platforms/allay/build.gradle.kts

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

No branches or pull requests

2 participants