gradle
8.4

# PlatformDependencyModifiers

@Incubating
interface PlatformDependencyModifiers(source)

Dependency modifier APIs that can find platform and enforced platforms in other modules for `dependencies` blocks.

#### Inheritors

JvmComponentDependencies

## Types

EnforcedPlatformDependencyModifier
Link copied to clipboard
@Incubating
abstract class EnforcedPlatformDependencyModifier : DependencyModifier
Implementation for the enforced platform dependency modifier.
PlatformDependencyModifier
Link copied to clipboard
@Incubating
abstract class PlatformDependencyModifier : DependencyModifier
Implementation for the platform dependency modifier.

## Functions

getEnforcedPlatform
Link copied to clipboard
abstract fun getEnforcedPlatform(): PlatformDependencyModifiers.EnforcedPlatformDependencyModifier
A dependency modifier that can modify a dependency to select an enforced platform variant.
getPlatform
Link copied to clipboard
abstract fun getPlatform(): PlatformDependencyModifiers.PlatformDependencyModifier
A dependency modifier that can modify a dependency to select a platform variant.