Class PlatformDependencyModifiers.EnforcedPlatformDependencyModifier

    • Constructor Detail

      • EnforcedPlatformDependencyModifier

        public EnforcedPlatformDependencyModifier()
    • Method Detail

      • getObjectFactory

        @Inject
        protected abstract ObjectFactory getObjectFactory()
        Injected service to create named objects.
        Returns:
        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 enforced platform variant of the given dependency.
        Specified by:
        modifyImplementation in class DependencyModifier
        Parameters:
        dependency - the dependency to modify