platforms

val platforms: ListProperty<String>

List of LWJGL native classifiers to resolve when usePredefinedPlatforms is enabled.

Each entry corresponds to the suffix part of a LWJGL native artifact classifier, for example:

  • "linux"natives-linux

  • "linux-arm64"natives-linux-arm64

  • "windows-x86"natives-windows-x86

By default, this contains all native LWJGL targets:

  • linux-ppc64le, linux-riscv64, linux-arm64, linux-arm32, linux

  • macos-arm64, macos

  • windows-arm64, windows, windows-x86

  • freebsd

You can override this list to customize exactly which native artifacts are pulled in when usePredefinedPlatforms is true.