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

Do not version the asset directory #237

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

SquidDev
Copy link
Contributor

Currently assets are written to .gradle/caches/minecraft/assets/$MCVER. However, the asset store is content-addressed, and so can be shared across versions. We drop the version suffix from the path to allow this.

I've deprecated the old two-arg DownloadAssets.getAssetsDirectory method in case other plugins/buildscripts are using it, but not sure if it counts as public API, so happy to just remove if preferred.

Currently assets are written to .gradle/caches/minecraft/assets/$MCVER.
However, the asset store is content-addressed, and so can be shared
across versions. We drop the version suffix from the path to allow this.
@neoforged-pr-publishing
Copy link

  • Publish PR to GitHub Packages

@marchermans marchermans enabled auto-merge (squash) August 15, 2024 08:23
@marchermans marchermans merged commit 4f8be00 into neoforged:NG_7.0 Aug 15, 2024
111 checks passed
@SquidDev SquidDev deleted the no-versioned-asset-dir branch August 15, 2024 09:12
@SquidDev
Copy link
Contributor Author

Thanks! ❤️

@neoforged-releases
Copy link

🚀 This PR has been released as NeoGradle version 7.0.161.

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.

2 participants