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

Manually set the artifactId for publishing #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xpple
Copy link

@xpple xpple commented Nov 10, 2023

Transferred from FabricMC/fabric-example-mod#233.

By default, Gradle will use the project name configured in settings.gradle (rootProject.name), after which it will default to the project's directory name. The directory name is very often equal to the capitalised mod name. This can be problematic for GitHub Packages, since capitalised artifacts are not allowed. This PR prevents that from happening.

Edit: See this stackoverflow question for the error GitHub Packages returns.

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.

None yet

1 participant