Groovy is an actively used programming language created in 2003. Apache Groovy is an object-oriented programming language for the Java platform. It is a dynamic language with features similar to those of Python, Ruby, Perl, and Smalltalk. It can be used as a scripting language for the Java Platform, is dynamically compiled to Java virtual machine (JVM) bytecode, and interoperates with other Java code and libraries. Read more on Wikipedia...

17Years Old 26,851Users 39Jobs

Example code from the Hello World Collection:

// Hello World in Groovy

println "Hello World"

Example code from Linguist:

#!/usr/bin/env groovy
println "Groovy!"

Example code from Wikipedia:

class Bird implements FlyingAbility {} /* Adds the trait FlyingAbility to the Bird class capabilities */
def bird = new Bird() /* instantiate a new Bird */
assert == "I'm flying!" /* the Bird class automatically gets the behavior of the FlyingAbility trait */

Trending Repos

repo stars description
pipeline-examples 2979 A collection of examples, tips and tricks and snippets of scripting for the Jenkins Pipeline plugin
gradle-versions-plugin 2012 Gradle plugin to discover dependency updates

Last updated June 22nd, 2020

Edit Groovy on GitHub