Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-6592

Allow @BaseScript on import or package definition

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0-beta-1
    • Component/s: None
    • Labels:
      None

      Description

      It would be nice if @BaseScript could be used on a package/import definition, like this:

      @BaseScript(MyScript)
      import groovy.transform.BaseScript
      
      println 'ok'
      

        Attachments

          Activity

            People

            • Assignee:
              melix Cédric Champeau
              Reporter:
              melix Cédric Champeau

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment