Closed yuxiangll closed 1 month ago
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).
Version
3.3.4
Platform
macOS arm64
JDK
Zulu OpenJDK 21.0.4
Module
LWJGL Croe
Bug description
You Typed double ":" ,and one ":" is enough on the official website download
Stacktrace or crash log output
No response