api

fun api(entries: Iterable<LwjglEntry>, wireNativesTo: String? = "runtimeOnly")

Registers LWJGL modules on the api configuration.

The selected modules will:

Parameters

entries

A collection of LwjglEntry values to register on the implementation configuration.

wireNativesTo

Target configuration for natives, or null to disable them.


fun api(entries: Iterable<LwjglEntry>, wireNativesTo: Named)

Registers LWJGL modules on the api configuration.

The selected modules will:

Parameters

entries

A collection of LwjglEntry values to register on the implementation configuration.

wireNativesTo

Configuration whose name natives are added to.


fun api(vararg entries: LwjglEntry, wireNativesTo: String? = "runtimeOnly")

Registers LWJGL modules on the api configuration.

The selected modules will:

Parameters

entries

One or more LwjglEntry values to register on the implementation configuration.

wireNativesTo

Target configuration for natives, or null to disable them.


fun api(vararg entries: LwjglEntry, wireNativesTo: Named)

Registers LWJGL modules on the api configuration.

The selected modules will:

Parameters

entries

One or more LwjglEntry values to register on the implementation configuration.

wireNativesTo

Configuration whose name natives are added to.