pniederw / groovy-extensions Goto Github PK
View Code? Open in Web Editor NEWExtensions to the Groovy language, implemented as AST transformations
Extensions to the Groovy language, implemented as AST transformations
This project provides the following Groovy language extensions: 1. True named method parameters (first prototype available) Declare like this: @org.groovyext.NamedParameters def foo(first, second = "default value", third) {...} Use like this: foo(first: "one", third: "third") 2. Closures as annotation element values (already in Groovy proper) @MyAnno(value = { println it }) Check out the tests to learn more.
I checked out this code and installed gradle 2.1.0. The build results look like this:
hobes:groovy-extensions tommy$ gradle build --info
Starting Build
Settings evaluated using settings file '/Volumes/PROMISE_PEGASUS/Development/projects/OSGi/groovy-extensions/settings.gradle'.
Projects loaded. Root project using build file '/Volumes/PROMISE_PEGASUS/Development/projects/OSGi/groovy-extensions/build.gradle'.
Included projects: [root project 'groovy-extensions', project ':groovyext', project ':tests']
Evaluating root project 'groovy-extensions' using build file '/Volumes/PROMISE_PEGASUS/Development/projects/OSGi/groovy-extensions/build.gradle'.
FAILURE: Build failed with an exception.
Where:
Build file '/Volumes/PROMISE_PEGASUS/Development/projects/OSGi/groovy-extensions/build.gradle' line: 22
What went wrong:
A problem occurred evaluating root project 'groovy-extensions'.
Could not find method groovy() for arguments [org.codehaus.groovy:groovy-all:2.0.0-beta-3-SNAPSHOT] on org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@7ad1caa2.
Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
BUILD FAILED
Total time: 2.003 secs
Stopped 0 compiler daemon(s).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.