Giter Club home page Giter Club logo

groovy-core's Introduction

Groovy

groovy logo

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.

Downloading

Latest Groovy version is availble on Bintray Bintray latest version

Binary distribution links are on the package page.

Maven, Gradle and Ivy dependency declaration snippets are available on specific files of a particular module.

Get automatic notifications about new "groovy" versions link=https://bintray.com/groovy/maven/groovy/view?source=watch

Building

Build is build status.

To build you will need:

To build everything using Gradle (the command below will download Gradle automatically, you do not need to download it first).

./gradlew clean dist

This will generate a distribution similar to the zip you can download on the Groovy download page.

To build everything and launch unit tests, use

./gradlew test

If you want to launch one unit test, use this. <TestClassName> is like groovy.GroovyMethodsTest.

./gradlew :test --tests <TestClassName>

To build from IntelliJ IDEA

./gradlew jarAll idea

Then open the generated project in IDEA.

To build from Eclipse

./gradlew jarAll eclipse

Then open the generated project and the generated subprojects in Eclipse.

InvokeDynamic support

The Groovy build supports the new Java 7 JVM instruction invokedynamic. If you want to build Groovy with invokedynamic, you can use the project property indy:

./gradlew -Pindy=true clean test

Please note that the following Gradle tasks generate both indy and non indy variants of the jars, so you don’t need to use the system property:

  • dist

  • install

  • uploadArchives

Continuous Integration

The official CI server runs here (login as user guest and leave the password blank) and is sponsored by JetBrains.

License

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

groovy-core's People

Contributors

aalmiray avatar alextkachman avatar andresteingress avatar azenla avatar blackdrag avatar bura avatar darxriggs avatar galleon avatar glaforge avatar hamletdrc avatar jbaumann avatar jdillon avatar jeremyrayner avatar jimwhite avatar jstrachan avatar jwagenleitner avatar mammatusplatypus avatar martincmartin avatar melix avatar mguillem avatar pascalschumacher avatar paulk-asert avatar pledbrook avatar pniederw avatar roshandawrani avatar shemnon avatar spullara avatar thom-nic avatar tkruse avatar yukoba avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.