For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

TargetMachineFactory

A factory for creating TargetMachine objects.

Since

5.1

Functions

Link copied to clipboard
Returns a TargetMachineBuilder for the Linux operating system family and the architecture of the current host.
Link copied to clipboard
Returns a TargetMachineBuilder for the macOS operating system family and the architecture of the current host.
Link copied to clipboard
Returns a TargetMachineBuilder for the Windows operating system family and the architecture of the current host.
Link copied to clipboard
abstract fun os(operatingSystemFamily: String): TargetMachineBuilder
Returns a TargetMachineBuilder representing the specified operating system and the architecture of the current host.