Skip to content

build(gradle): fix acceleratedrendering dependency and robustify maven_loc#186

Open
finiscontiral wants to merge 1 commit into
0999312:1.21.1from
finiscontiral:1.21.1-fix-build-and-publishing
Open

build(gradle): fix acceleratedrendering dependency and robustify maven_loc#186
finiscontiral wants to merge 1 commit into
0999312:1.21.1from
finiscontiral:1.21.1-fix-build-and-publishing

Conversation

@finiscontiral

Copy link
Copy Markdown

Description

This PR addresses two build-related issues to improve repository portability and fix broken dependencies:

  1. Fix Broken Dependency: Switched acceleratedrendering from a non-existent Modrinth coordinates to a valid CurseMaven coordinate.
  2. Robust Local Publishing: Refactored the publishing block to avoid absolute path dependencies. It now uses default_maven_loc as a fallback and safely skips the block if neither path exists, preventing build errors on other developers' environments (like macOS).

No logic inside the mod is modified. Testing completed on macOS (M4).

…n_loc

- Fix a broken Modrinth dependency for acceleratedrendering by switching to CurseMaven.
- Make local maven publishing optional to prevent build errors in other environments.
  - Introduced `default_maven_loc` as a fallback.
  - The publishing block is now safely skipped if neither path exists on the host system.
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