You need to remove the colon after 'mavenRepo'. Otherwise, Groovy will parse
it as a label, and no repo will be added.

I think it would be worthwhile to disallow labels in build scripts (with an
AST transform) to prevent such typos.

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Twitter: @pniederw


Garner Shawn wrote:
> 
> For some reason I can't seem to get my build.gradle (1.0 MS 3) to find
> the akka actor jar in their repository.
> It says it's a maven repository and I used the values from their pom
> configuration.
> 
> I'm doing:
> apply plugin: 'java'
> 
> configurations {
>       compile
> }
> 
> repositories {
>       mavenRepo: urls: "http://akka.io/repository/";
>       
>       mavenCentral()
> }
> 
> dependencies {
>       compile group: 'org.apache.commons', name: 'commons-lang3', version:
> '3.0.1'
>       compile group: 'com.google.guava', name: 'guava', version: 'r09'
>       compile group: 'se.scalablesolutions.akka', name: 'akka-actor', version:
> '1.2'
> }
> 
> But from the output it seems like it's not even looking in the
> http://akka.io/repository/
> 
> Shawn
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/problem-with-akka-repository-tp4825075p4825218.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