A multi-faceted language tool for the Java platform!

Groovy

Groovy

  -  59.52 MB  -  Open Source
  • Latest Version

    Groovy 5.0.5 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.5.msi

  • MD5 Checksum

    976939ac9df41587aae04bae7bb35b22

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

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

    Groovy 5.0.5 Screenshot 1

What's new in this version:

Fixed:
- Groovy5 calling Groovy4 library with setter throws NPE
- Enclosing method not set for AIC in script statements
- Compiler writes extra cast for method call on list expression
- apply @Final transform to constructor produces class format error
- trait field initializer results in setter call error
- instanceof pattern is incorrectly applied to downstream code in type checker
- AST compilation customizer support for array or list of enum values
- STC: setter call list and dynamic-type addition
- SC: compile static method and default parameter values
- SC: map getAt null safety
- Inner classes property vs field access
- SwingBuilder closure bind: typed vs untyped (def) property
- anon. inner class is never static
-Stack overflow when using too many chained method calls

Dependency upgrade:
- Bump jackson to 2.21.0
- Bump logback to 1.5.27 (test dependency)
- Bump junit5 jupiter/platform to 5.14.2/1.14.2
- Bump testng to 7.12.0
- Bump junit5 jupiter/platform to 5.14.3/1.14.3
- Bump jline to 3.30.9
- Bump logback to 1.5.32 (test dependency)
- Bump jackson to 2.21.2
Improvement:
- Invokedynamic first invocation should not have a line with IndyInterface