Interface LibraryDependencies

    • Method Detail

      • api

        void api​(java.lang.Object notation)
        Adds an API dependency to this library. An API dependency is made visible to consumers that are compiled against this component.
        Parameters:
        notation - The dependency notation, as per DependencyHandler.create(Object).
      • api

        void api​(java.lang.Object notation,
                 Action<? super ExternalModuleDependency> action)
        Adds an API dependency to this library. An API dependency is made visible to consumers that are compiled against this component.
        Parameters:
        notation - The dependency notation, as per DependencyHandler.create(Object).
        action - The action to run to configure the dependency.