A multi-faceted language tool for the Java platform!

Groovy

Groovy

  -  45.09 MB  -  Open Source
  • Latest Version

    Groovy 4.0.27 LATEST

  • Review by

    Daniel Leblanc

  • Operating System

    Windows 7 / Windows 8 / Windows 10 / Windows 11

  • User Rating

    Click to vote
  • Author / Product

    Apache Software Foundation / External Link

  • Filename

    groovy-4.0.27.msi

  • MD5 Checksum

    534aa151dc0b06efb538a35cce910d23

Apache Groovy is a powerful, optionally typed and dynamic language, with static-typing and static compilation capabilities, for the Java platform aimed at improving developer productivity thanks to a concise, familiar, and easy to learn syntax.

It integrates smoothly with any Java program and immediately delivers to your application powerful features, including scripting capabilities, Domain-Specific Language authoring, runtime, and compile-time meta-programming and functional programming.

Features and Highlights

Flat learning curve
Concise, readable, and expressive syntax, easy to learn for Java developers.

Smooth Java integration
Seamlessly and transparently integrates and interoperates with Java and any third-party libraries.

Vibrant and rich ecosystem
Web development, reactive applications, concurrency / asynchronous / parallelism library, test frameworks, build tools, code analysis, GUI building.

Powerful features
Closures, builders, runtime & compile-time meta-programming, functional programming, type inference, and static compilation.

Domain-Specific Languages
Flexible & malleable syntax, advanced integration & customization mechanisms, to integrate readable business rules in your applications.

Scripting and testing glue
Great for writing concise and maintainable tests, and for all your build and automation tasks.

The Groovy programming language is supported by the Apache Software Foundation and the Groovy community.

How to Use
  • Open a terminal or command prompt on your PC
  • Set up the Groovy environment variables if needed
  • Run Groovy scripts using the groovy command
  • Use the interactive shell with groovysh for quick testing
  • Integrate Groovy with Java applications if required
  • Utilize Groovy libraries for advanced scripting
  • Debug scripts using logging and exception handling
  • Explore documentation for built-in functions and syntax
System Requirements
  • OS: Windows 11 or Windows 10 (64-bit recommended)
  • Processor: Intel/AMD 1.5 GHz or faster
  • RAM: Minimum 2GB (4GB or more recommended)
  • Storage: At least 500MB free space
  • Java: JDK 8 or later required
PROS
  • Easy to learn for Java developers
  • Supports dynamic and static typing
  • Compatible with Java libraries and frameworks
  • Concise and expressive syntax
  • Strong community and documentation
CONS
  • Slower execution than pure Java
  • Requires Java runtime installation
  • Limited standalone development tools
  • Not as widely used as Java or Python
  • Can be harder to debug in complex projects


Why is this app published on FileHorse? (More info)
  • Groovy 4.0.27 Screenshots

    The images below have been resized. Click on them to view the screenshots in full size.

    Groovy 4.0.27 Screenshot 1

What's new in this version:

Fixed:
- STC doesn't find property accessor on nested class
- Reproduction of GROOVY-11548 with Generic Parameters
- byte array casted to array list when calling parent method from nested class
- Static compiler should treat inner records as static
- Nested <src> in <groovyc> Ant task is not handled nicely
- Cannot call on outerclass's default method if the inner class extends that outerclass
- Enums in switch/case statements that are not fully qualified will cause a groovy compile error but Java requires enums to "not" be fully qualified
- Method reference not found for record fields
- Assigning null to a List or Map using bracket notation does not work with @CompileStatic
- ClassFormatError when property and abstract getter exist in the same class
- source offset of inner class declaration with annotation
- Groovy 4_0_X branch fails
- Grails reproducible build
- groovyc should enforce correct usage of "continue"
- Mocking a method with byte[] parameter type throws a ClassCastException: ArrayList cannot be cast to Number
- Spread operator type conversion error

Dependency upgrade:
- Bump jackson to 2.18.3
- Bump asm to 9.8
- Bump junit5 to 5.12.1
- Bump javaparser to 3.26.4
- Bump junit5 to 5.12.2
- Bump slf4j to 2.0.17 (test and standard install dependency)
- Bump picocli to 4.7.7
- Bump japicmp to 0.4.6
- Bump gradle to 8.14 (build dependency)
- Bump jansi to 2.4.2
- Bump antlr to 4.13.2.7

Improved:
- Replace buildscan-recipes with simplified custom value generation
- Groovyc ant task is excessively verbose
- Groovydoc fails to produce documentation for some files with higher Java language level code
- Add an explicit mention of selected license for JavaParser for BIN/SDK.

Task:
- Add JDK 25 constant