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

Support translation of config-level exclude rules to POM <exclusions>

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.9-rc-3

      Description

      Currently, as documented, only dependency-level exclude rules are processed in the Maven POM [1]. It would be useful to be able to convert configuration-level exclude rules as well.

      The code changes to implement this [2], as well as a modified sample project [3] to demonstrate, are available in the following fork:

      https://github.com/demobox/gradle

      The fork also includes a fix to ensure the XmlTransformerTest works on Windows [4].

      Please email demobox1 [at] yahoo [dot] co [dot] uk if a pull request would be useful.

      [1] http://www.gradle.org/0.9-preview-1/docs/userguide/userguide_single.html, "30.6.4.2. Dependency mapping"
      [2] https://github.com/demobox/gradle/commit/dbb9ed1fd43d4dccd9fccebd65d5b150d787a8ac
      [3] https://github.com/demobox/gradle/commit/bb0104dbf12b98aead7e37232695397948902a03
      [4] https://github.com/demobox/gradle/commit/2f64419c3d99315a776290efd43ec0f65233da34

        Attachments

          Activity

            People

            Assignee:
            hans_d Hans Dockter
            Reporter:
            demobox Andrew Phillips
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: