Gradle
  1. Gradle
  2. GRADLE-784

Provide a 'provided' configuration

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None

      Description

      The intent of 'provided' configuration is to define dependencies which are needed for compilation, but which should not be "exported" (aka should not show up in runtime configuration)

        Activity

        Hide
        Chris Pratt added a comment -

        @BjörnKautler, where can I find the plugin you speak of? I've tried implementing the provided configuration myself, but unwanted jars keep creeping into my war file.
        (*Chris*)

        Show
        Chris Pratt added a comment - @BjörnKautler, where can I find the plugin you speak of? I've tried implementing the provided configuration myself, but unwanted jars keep creeping into my war file. (*Chris*)
        Hide
        Yaneeve Shekel added a comment -

        @ChrisPratt, Not perfect, I would rather it be natively supported by gradle, but here it is: https://github.com/spring-projects/gradle-plugins/tree/master/propdeps-plugin

        Show
        Yaneeve Shekel added a comment - @ChrisPratt, Not perfect, I would rather it be natively supported by gradle, but here it is: https://github.com/spring-projects/gradle-plugins/tree/master/propdeps-plugin
        Hide
        Björn Kautler added a comment -

        I think the newly open-sourced nebula gradle plugins from netflix also provide a provided configuration, but never used either of the two

        Show
        Björn Kautler added a comment - I think the newly open-sourced nebula gradle plugins from netflix also provide a provided configuration, but never used either of the two
        Show
        Dejan Stojadinović added a comment - Björn Kautler are you referring to this one: https://github.com/nebula-plugins/nebula-extra-configurations-plugin ?
        Hide
        Björn Kautler added a comment -

        yes

        Show
        Björn Kautler added a comment - yes

          People

          • Assignee:
            Unassigned
            Reporter:
            Steve Ebersole
          • Votes:
            179 Vote for this issue
            Watchers:
            142 Start watching this issue

            Dates

            • Created:
              Updated:

              Development