Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Groovy programming language
Java Groovy GAP HTML CSS TeX Other
tree: 9c96476662

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.externalToolBuilders
.settings
benchmark
bootstrap
config
cruise
gradle
security
src
subprojects
xdocs/images
.bzrignore
.classpath
.gitignore
.project
LICENSE.txt
NOTICE.txt
README.md
build.gradle
build.properties
build.xml
gradle.properties
gradlew
gradlew.bat
pom.xml

README.md

Groovy

Groovy is an agile and dynamic language for the Java Virtual Machine. It builds upon the strengths of Java, but has additional power features inspired by languages like Python, Ruby and Smalltalk. Groovy makes modern programming features available to Java developers with almost-zero learning curve as well as supports Domain-Specific Languages and other compact syntax so your code becomes easy to read and maintain. Groovy makes writing shell and build scripts easy with its powerful processing primitives, OO abilities and an Ant DSL. It also increases developer productivity by reducing scaffolding code when developing web, GUI, database or console applications. Groovy simplifies testing by supporting unit testing and mocking out-of-the-box. Groovy also seamlessly integrates with all existing Java classes and libraries and compiles straight to Java bytecode so you can use it anywhere you can use Java.

Building

To build you will need:

Plus one of the following (Gradle will download itself if needed):

For detailed instructions please see:

To build everything using ant (including running tests and creating a complete installation):

ant install

To build without running tests or creating OSGi information:

ant install -DskipTests=true -DskipOsgi=true

To run tests from gradle (will download gradle the first time):

gradlew test

To build from Eclipse:

  • ant install
  • ensure that the M2_REPO classpath variable exists and points to the correct place (typically ~/.m2/repository)
    • To Change this, go to Preferences -> Java -> Build Path -> Classpath variables
  • Project -> Clean... and then build. Should compile with no errors. But if there are errors, then send a message to the groovy users mailing list
  • You will not be able to run the tests from inside of Eclipse.

License

Groovy is licensed under the terms of the Apache License, Version 2.0.

Something went wrong with that request. Please try again.