Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-691

use ModuleRevisionId instead of ModuleId in IvySettings#getResolver

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-beta-2
    • Core
    • None

    Description

      Currently to get the dependency resolver for a module one use the IvySettings#getResolver(ModuleId moduleId).

      Checking the current usage of this method, all callers actually have a ModuleRevisionId when calling the method. Using the ModuleRevisionId instead of the ModuleId would allow more specific resolver assignment, like resolvers depending on the version (this require to be careful since the version may not be resolved yet when asking) and also resolvers depending on extra attributes which open the door to many use cases.

      Attachments

        Activity

          People

            xavier Xavier Hanin
            xavier Xavier Hanin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: