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

Typing ERROR Contributed to Can't build #997

Open
yuxiangll opened this issue Aug 7, 2024 · 1 comment
Open

Typing ERROR Contributed to Can't build #997

yuxiangll opened this issue Aug 7, 2024 · 1 comment

Comments

@yuxiangll
Copy link

Version

3.3.4

Platform

macOS arm64

JDK

Zulu OpenJDK 21.0.4

Module

LWJGL Croe

Bug description

7ee1b65029bf65abfb792e48883c8c54
You Typed double ":" ,and one ":" is enough
on the official website download

Stacktrace or crash log output

No response

@TheMrMilchmann
Copy link
Contributor

Hi @yuxiangll,
Without more information, I won't be able to comment on the error you were having.
However, the snippet in question is correct:

The string notation for dependencies looks roughly like this:

<group>:<artifact>(:<version>(:<classifier>)?)?

We don't need to declare the versions for the individual dependencies because they are resolved from the BOM platform dependency. However, the dependencies for the native artifacts use classifiers for the different supported platforms. Thus, to include the correct natives dependency, we must declare the classifier, but we can still omit the version by simply using the empty string instead of a version number. This effectively leaves us with the syntax:

<group>:<artifact>::<classifier>

If still believe, you were facing an error related to this issue specifically, please provide us with more information (such as a stacktrace, logs, and, ideally, an MCVE).

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