Rexxe wrote:
> 
> Also, are you sure about the incorrect syntax?
> 

Yes I'm sure. From the user guide:

Quite often certain jars are not in the official Maven repository for
licensing reasons (e.g. JTA), but its POMs are. [...] The first URL is used
to look for POMs and JARs. The subsequent URLs are used to look for JARs.


Rexxe wrote:
> 
> I'm wondering if the error has to do with what Andy brought up about the
> 404s due to browsing in a web browser.  The Spring repo is not viewable in
> a
> browser and must be used using Maven.
> 

Artifacts in the Spring repo are accessible over plain HTTP (also with a
browser); you just can't list the contents. Gradle handles this just fine. 


Rexxe wrote:
> 
> Even after changing it, I still get the same error.  
> 

Are you sure? The following works fine for me:

apply plugin: "java"

repositories {
    mavenRepo urls: "http://maven.springframework.org/release";
}

dependencies {
    compile "org.aspectj:aspectjrt:1.6.11.RELEASE"
}

You could also try to delete Gradle's Ivy cache, typically found in
~/.gradle/cache. Maybe it got corrupted.

--
Peter Niederwieser 
Developer, Gradle
http://www.gradle.org
Trainer & Consultant, Gradleware
http://www.gradleware.com
Creator, Spock Framework
http://spockframework.org


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Having-a-tough-time-as-a-Gradle-novice-tp4302105p4303662.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to