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

typo in configuration exclude rule excludes all dependencies

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1-rc-1

      Description

      A typo like below excludes all dependencies in given configuration.

      configurations.compile.exclude modue: "kafka"
      

      I think we should simply fail fast if someone uses wrong keys for exclude rule (we already do that for dependency-level exclude rules). It's a breaking change but I think it makes little sense applying deprecation layer on top of this kind of API misuse.

        Attachments

          Activity

            People

            Assignee:
            szczepiq Szczepan Faber
            Reporter:
            szczepiq Szczepan Faber
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: