[GRADLE-1151] groovy plugin should have default version and library Created: 15/Sep/10  Updated: 04/Jan/13  Resolved: 19/Jun/11

Status: Resolved
Project: Gradle
Affects Version/s: 0.9
Fix Version/s: 1.0-milestone-4

Type: Improvement
Reporter: Philip Crotwell Assignee: Luke Daley
Resolution: Fixed Votes: 0

Issue Links:
Related
Related to GRADLE-1587 DependencyHandler does not have local... Resolved

 Description   

In the userguide it says:
To use the groovy compilation tasks, you must also declare the Groovy version to use and where to find the Groovy libraries. You do this by adding a dependency to the groovy configuration.

Why can't these have defaults? Perhaps the same version of groovy that is used internally as that is known to be installed?

In many cases I need to do a small amount of groovy, and I don't really care which version is being used.



 Comments   
Comment by Hans Dockter [ 29/Sep/10 ]

What you can do already is to say something like:

dependencies {
    groovy localGroovy()
}
Comment by Luke Daley [ 19/Jun/11 ]

Please see GRADLE-1587 for the solution here.

Generated at Wed Jun 30 11:48:14 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.