A multi-faceted language tool for the Java platform!

Groovy

Groovy

  -  59.25 MB  -  Open Source
  • Latest Version

    Groovy 5.0.2 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-5.0.2.msi

  • MD5 Checksum

    1db9d06a3b532c5699e0acc4d2e39549

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 5.0.2 Screenshots

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

    Groovy 5.0.2 Screenshot 1

What's new in this version:

Fixed:
- split property definitions aren't carrying final modifier to getters
- Compilation error: Can't have an abstract method in a non-abstract class
- IllegalAccessError: trait property and protected/package-private super access method
- java 25: class cannot be non-sealed as it has no sealed parent
- StackOverflowError processing generics for kubernetes-client library
- Overload resolution of trait methods does not work properly
- Nest Host and Nest Members not always right for Closures
- static field access to outer class does not work properly anymore
- Inconsistent unboxing of null, and resulting exceptions

Dependency upgrade:
- Bump jline to 3.30.6
- Bump jackson to 2.20.0
- Bump log4j2 to 2.25.2
- Bump asm to 9.9 and add JDK26 constants
- Bump javaparser to 3.27.1
- Bump logback to 1.5.19 (test dependency)
- Bump jna to 5.18.1
- Bump asciidoctorj-pdf to 2.3.20

Improved:
- Support groovydoc for records

Question:
-Base class has final getter; extending class has property of same name; no warning for final override