A multi-faceted language tool for the Java platform!

Groovy

Groovy

  -  59.49 MB  -  Open Source
  • Latest Version

    Groovy 5.0.4 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.4.msi

  • MD5 Checksum

    6c1145c03520253eee6666d1aec87353

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.4 Screenshots

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

    Groovy 5.0.4 Screenshot 1

What's new in this version:

Fixed:
- Services loaded via the service loader not working in (some) OSGi contexts for Groovy 4+
- groovy.lang.MissingMethodException: No signature of method: minus for class: java.util.Date is applicable for argument types: (groovy.time.DatumDependentDuration)
- ToString transform should be enum aware
- STC: flow type after instanceof drops type args
- General error during instruction selection: out-of-scope static check
- Various CompileStatic issues when switching to invokedynamic
- metadata methods on static nested class fail compilation if extended class uses slightly different signature
- Static getter with optional parameters inaccessible
- instanceof variable VerifyError
- IllegalAccessError: interface method and non-public super class method
- Compiler crash with TYPE_USE annotation on void method during AST transformation
- Regression in if statement for boolean var in groovy 5
- Metaclass Concurrency Problem
- File.filterLine leaves hanging Reader

Dependency upgrade:
- Bump spock to 2.4-groovy-5.0 (test dependency)
- Bump asm to 9.9.1
- Bump log4j2 version to 2.25.3 (test dependency)
- Bump logback to 1.5.23 (test dependency)
- Bump codenarc to 3.7.0 (build dependency)
- Bump javaparser to 3.28.0
- Bump asciidoctorj-pdf to 2.3.23
- Bump logback to 1.5.24 (test dependency)

Improved:
- Provide a Groovysh entry point which supports a binding