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

Ability to define system properties for groovyc using CompilerConfiguration

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.9, 4.0.0
    • 3.0.10, 4.0.1
    • Compiler
    • None

    Description

      In some cases, it would be useful to be able to define system properties for groovyc using CompilerConfiguration.

      The real life example is a limitation of Idea which doesn't allow to provide system properties for groovyc (just for javac) - https://youtrack.jetbrains.com/issue/IDEA-287642 . As a result, Spock 2.0-groovy-3.0 cannot be easily compiled in Idea if Maven project is imported.

      There are probably also some other situations where CompilerConfiguration might be more handy than playing with Gradle/Maven/Ant/Netbeans configurations.

      Attachments

        Activity

          People

            paulk Paul King
            szpak Marcin Zajaczkowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: