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.

VariantFileMetadata

Part of a component variant's metadata representing a file and its location.

Since

6.0

Functions

Link copied to clipboard
abstract fun getName(): String
Get the name of the file.
Link copied to clipboard
abstract fun getUrl(): String
Get the location of the file relative to the corresponding metadata file in the repository.