Uploaded image for project: '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: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.7, 1.4-M1, 2.0-M1
    • Fix Version/s: None
    • Component/s: Build System
    • Labels:
    • Flagged:
      Impediment

      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.
        Hide
        Ronny Løvtangen added a comment -

        Can be closed. How to add dependency is now included on the plugin page

        Show
        Ronny Løvtangen added a comment - Can be closed. How to add dependency is now included on the plugin page

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Last Reviewed: