gradle
8.5

# belongsTo

abstract fun belongsTo(notation: Any)(source)

Declares that this component belongs to a virtual platform, which should be considered during dependency resolution.

#### Parameters

notation

the coordinates of the owner

abstract fun belongsTo(notation: Any, virtual: Boolean)(source)

Declares that this component belongs to a platform, which should be considered during dependency resolution.

#### Parameters

notation

the coordinates of the owner

virtual

must be set to true if the platform is a virtual platform, or false if it's a published platform