griffon/griffon-gradle-plugin — Issue #1: Could you mention that 'mavenRepo url:' may not work prior to Gradle 1.0-milestone-5
Author: sixman9
Created: 2011-11-08 10:08:33+00:00
State: open

Hi,
Firstly, thank you very much for your great work regarding all things Groovy.

I'm reasonably new to Groovy/Gradle/Griffon, but have had Gradle 1.0-milestone-3 installed for some while. After copy & pasting your plugin's build script, I found that it fell over with the following (slightly cryptic) error message:

[griffonGradleBase]$gradle tasks
FAILURE: Build failed with an exception.

* Where:
Build file '/home/richardj/Programming/git/griffonGradleBase/build.gradle' line: 4

* What went wrong:
A problem occurred evaluating root project 'griffonGradleBase'.
Cause: You must specify a urls for a Maven repo.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 4.258 secs

I questioned the grammar of '**You must specify a urls for a Maven repo**', but, after Googling for the 'mavenRepo' closure, I came across the following, outlining the usage of the singular 'url' descriptor as from Gradle 1.0-milestone-5:

http://issues.gradle.org/browse/GRADLE-612

So, could you just make mention of this in the build script, say as a comment? It might avoid a little head scratching :-D

Thanks

Rich