LwjglPlugin

class LwjglPlugin : Plugin<Project>

Gradle plugin that provides the lwjgl { ... } DSL for configuring LWJGL dependencies in a project.

Once applied, it registers a LwjglExtension named "lwjgl" on the target Project, which can be used from build.gradle.kts like:

import com.smushytaco.lwjgl_gradle.Preset

plugins {
id("com.smushytaco.lwjgl3")
}

lwjgl {
version = "3.4.0"
implementation(Preset.MINIMAL_OPENGL)
}

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun apply(project: Project)

Applies the LWJGL plugin to the given project by registering the LwjglExtension under the name "lwjgl".