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

Ability to specify a CompilerConfiguration instance for GroovyCompile task?

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1-rc-1

      Description

      Is it possible to specify a CompilerConfiguration (see [1]http://groovy.codehaus.org/api/org/co...) on a GroovyCompile task? I'm mostly interesed in having access to addCompilerCustomizer() It would be great if thise feature could be specified globally (for all GroovyCompile tasks in the project) and overriden locally by SourceSet.

      Cheers,
      Andres
      ----------------------------------------------------------------------------------------
      [1] http://groovy.codehaus.org/api/org/codehaus/groovy/control/CompilerConfiguration.html

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            forums Gradle Forums
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: