Grails
  1. Grails
  2. GRAILS-7914

Provide the line to copy/paste in BuildConfig.groovy plugins block, in output of 'grails plugin-info ...'

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.7, 1.4-M1, 2.0-M1
    • Fix Version/s: None
    • Component/s: Build System
    • Labels:

      Description

      As a shift to using the dependency DSL approach to installing plugins, rather than the old 'grails install-plugin ...', it would be nice to get some help to construct the line to paste into the plugins block in BuildConfig.groovy. Similar to how mvnrepository.com gives you the code to add to a maven build (example http://mvnrepository.com/artifact/ch.qos.logback/logback-core/0.9.29)
      Example for BuildConfig.groovy:

         runtime ':app-info:0.4.3'
      

      There is a grails command 'grails plugin-info ...' that could possibly provide this line.
      Discussed at http://grails.1312388.n4.nabble.com/install-plugin-vs-BuildConfig-groovy-tp3729968p3730029.html

        Activity

        Hide
        Ronny Løvtangen added a comment -

        One problem would be to know what scope to recommend. As far as I know, there is no plugin metadata for specifying the plugins recommended scope.

        Show
        Ronny Løvtangen added a comment - One problem would be to know what scope to recommend. As far as I know, there is no plugin metadata for specifying the plugins recommended scope.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ronny Løvtangen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Last Reviewed:

              Development