Skip to content

Compile LWJGL's version information into Java module descriptors #685

@sormuras

Description

@sormuras

Description

Let the compiled module descriptors of modules provided this project contain version information.

Java/JDK modules (and other libraries/frameworks) do contain such information, which leads to printouts like the following from a custom runtime image:

java --list-modules

com.github.sormuras.bach.lwjgl@1
java.base@17
jdk.unsupported@17
org.lwjgl
org.lwjgl.glfw
org.lwjgl.glfw.natives
org.lwjgl.natives
org.lwjgl.opengl
org.lwjgl.opengl.natives

In addition, those versions are included in generated stacktraces: https://twitter.com/rotnroll666/status/1446126805404905491

Proposed version string patterns:

  • nightly org.lwjgl@3.3-nightly+2021.10.07
  • stable org.lwjgl@3.3-stable+2021.10.07
  • release org.lwjgl@3.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions