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.

Platform

interface Platform : Named(source)

The platform or runtime that a binary is designed to run on. Examples: the JvmPlatform defines a java runtime, while the NativePlatform defines the Operating System and Architecture for a native app.

Since

2.2

Inheritors

Functions

Link copied to clipboard
Returns a human consumable name for this platform.
Link copied to clipboard
abstract fun getName(): String
The object's name.