Lwjgl Entry
A sealed interface representing any value that can participate in LWJGL dependency resolution within the LWJGL Gradle plugin.
The plugin defines two concrete implementations:
Module — describes a single LWJGL module published to Maven
Preset — describes a named collection of LWJGL modules for convenience
All entry points of the LWJGL DSL (implementation, api, compileOnly, into, etc.) accept LwjglEntry values. Using a sealed interface allows callers to supply modules and presets interchangeably:
lwjgl {
implementation(
Module.GLFW,
Module.OPENGL,
Preset.GETTING_STARTED
)
}Content copied to clipboard