Interface VcsMapping


  • public interface VcsMapping
    A dependency mapping provided by a VCS repository.
    Since:
    4.4
    • Method Detail

      • getRequested

        ComponentSelector getRequested()
        The requested dependency, before it is resolved. The requested dependency does not change even if there are multiple dependency substitution rules that manipulate the dependency metadata.
      • from

        void from​(VersionControlSpec versionControlSpec)
        Specifies the VCS location for the requested component.
        Since:
        4.6
      • from

        <T extends VersionControlSpec> void from​(java.lang.Class<T> type,
                                                 Action<? super T> configureAction)
        Specifies the VCS location for the requested component.