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

Option to remove the GroovyObject dependency and compile to 'pure' Java

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0
    • 1.1-beta-1
    • class generator
    • None
    • All

    Description

      There are some use cases for which it would be desirable to be able to use Groovy as a 'better Java'. That is, that Groovy should compile down to pure Java .class files, with absolutely no runtime dependencies, even if that means we lose some of Groovy's beyond-Java abilities.

      The current runtime dependency on GroovyObject means we have to ship an additional 2MB worth of JARs with our app, which is unacceptable for rich client apps.

      An example of such a use case would be:

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            kennardconsulting Kennard Consulting
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: