Package org.gradle.api.plugins.jvm
Klasse PlatformDependencyModifiers.EnforcedPlatformDependencyModifier
java.lang.Object
org.gradle.api.artifacts.dsl.DependencyModifier
org.gradle.api.plugins.jvm.PlatformDependencyModifiers.EnforcedPlatformDependencyModifier
- Umschließende Schnittstelle:
PlatformDependencyModifiers
@Incubating
public abstract static class PlatformDependencyModifiers.EnforcedPlatformDependencyModifier
extends DependencyModifier
Implementation for the enforced platform dependency modifier.
- Seit:
- 8.0
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected abstract ObjectFactoryInjected service to create named objects.protected voidmodifyImplementation(ModuleDependency dependency) Modify the given dependency.Von Klasse geerbte Methoden org.gradle.api.artifacts.dsl.DependencyModifier
getDependencyFactory, modify, modify, modify, modify
-
Konstruktordetails
-
EnforcedPlatformDependencyModifier
public EnforcedPlatformDependencyModifier()
-
-
Methodendetails
-
getObjectFactory
Injected service to create named objects.- Gibt zurück:
- injected service
- Implementation Requirements:
- Do not implement this method. Gradle generates the implementation automatically.
-
modifyImplementation
Modify the given dependency. Selects the enforced platform variant of the given dependency.- Angegeben von:
modifyImplementationin KlasseDependencyModifier- Parameter:
dependency- the dependency to modify
-