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:
  • Konstruktordetails

    • PlatformDependencyModifier

      public PlatformDependencyModifier()
  • Methodendetails

    • getObjectFactory

      @Inject protected abstract ObjectFactory 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

      protected void modifyImplementation(ModuleDependency dependency)
      Modify the given dependency. Selects the platform variant of the given dependency.
      Angegeben von:
      modifyImplementation in Klasse DependencyModifier
      Parameter:
      dependency - the dependency to modify