Apache S4
  1. Apache S4
  2. S4-112

Gradle doesn't resolve dependencies when they are partially in the maven repository

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6
    • Labels:
      None

      Description

      Sometimes Gradle fails to resolve dependencies due to this bug: http://issues.gradle.org/browse/GRADLE-2034

      This happens when an artifact exists in the local maven repository but doesn't contain the jar files.

        Activity

        Hide
        Daniel Gómez Ferro added a comment -

        This patch tries first maven central and then the local maven repository. It is more inefficient the first time it runs but it always works.

        Show
        Daniel Gómez Ferro added a comment - This patch tries first maven central and then the local maven repository. It is more inefficient the first time it runs but it always works.
        Hide
        Daniel Gómez Ferro added a comment -

        The patch is based on S4-95 since it also introduces its own s4-benchmarks.gradle

        Show
        Daniel Gómez Ferro added a comment - The patch is based on S4-95 since it also introduces its own s4-benchmarks.gradle
        Hide
        Matthieu Morel added a comment -

        Good idea Daniel, and it works well!

        Merged into dev, commit [fe9f32f]

        Show
        Matthieu Morel added a comment - Good idea Daniel, and it works well! Merged into dev, commit [fe9f32f]

          People

          • Assignee:
            Daniel Gómez Ferro
            Reporter:
            Daniel Gómez Ferro
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development