Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-2247

Gradle cannot resolve dependencies when using ivy repository in layout 'gradle'

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None

      Description

      I copied the existing .gradle/caches/artifacts-13/ repository into a folder 'offline' and declared an ivy repository

      ivy

      { url "offline" layout "gradle" }

      Then i removed the .gradle/caches/artifacts-13 directory, and expected gradle to resolve all dependencies via the offline folder. It does not work because the 'gradle' layout is not the latest 'wharf' layout. Using log4j as an example, gradle tries to fetch

      offline/log4j/log4j/1.2.16/ivy-1.2.16.xml respectively
      offline/log4j/log4j/1.2.16/log4j-1.2.16.jar

      but the wharf layout looks like

      offline/module-metadata/log4j/log4j/1.2.16/674f4c9c2688515137be3d2e70ce3583.ivy.xml respectively
      offline/filestore/log4j/log4j/1.2.16/bundle/7999a63bfccbc7c247a9aea10d83d4272bd492c6/log4j-1.2.16.jar

        Activity

        jot1109 Jochen Hinrichsen created issue -
        pniederw Peter Niederwieser made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Peter Niederwieser [ pniederw ]
        Resolution Won't Fix [ 2 ]
        ldaley Luke Daley made changes -
        Workflow jira with pivotal tracker [ 15598 ] jira with pivotal tracker (no resolved, only closed) [ 18178 ]
        Status Resolved [ 5 ] Closed [ 6 ]
        ldaley Luke Daley made changes -
        Workflow jira with pivotal tracker (no resolved, only closed) [ 18178 ] Copy of jira with pivotal tracker (no closed, only resolved) [ 20789 ]
        Status Closed [ 6 ] Resolved [ 5 ]

          People

          • Assignee:
            pniederw Peter Niederwieser
            Reporter:
            jot1109 Jochen Hinrichsen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development