Package org.gradle.api.plugins.jvm
Klasse PlatformDependencyModifiers.PlatformDependencyModifier
java.lang.Object
org.gradle.api.artifacts.dsl.DependencyModifier
org.gradle.api.plugins.jvm.PlatformDependencyModifiers.PlatformDependencyModifier
- Umschließende Schnittstelle:
PlatformDependencyModifiers
@Incubating
public abstract static class PlatformDependencyModifiers.PlatformDependencyModifier
extends DependencyModifier
Implementation for the 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
-
PlatformDependencyModifier
public PlatformDependencyModifier()
-
-
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 platform variant of the given dependency.- Angegeben von:
modifyImplementationin KlasseDependencyModifier- Parameter:
dependency- the dependency to modify
-