Class PlatformDependencyModifiers.PlatformDependencyModifier

    • Constructor Detail

      • PlatformDependencyModifier

        public PlatformDependencyModifier()
    • 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 platform variant of the given dependency.
        Specified by:
        modifyImplementation in class DependencyModifier
        Parameters:
        dependency - the dependency to modify