Rexxe, could you share your full repo and dependency script blocks? It looks like you are referring to a dependency that doesn't make sense. Testing it out... It looks like mavenCentral has: 'org.aspectj:aspectjrt:1.6.10'
but 'org.aspectj:aspectjrt:1.6.11.RELEASE' and 'org.aspectj:aspectjrt:1.6.11' don't exist. Where did you get the 'org.aspectj:aspectjrt:1.6.11.RELEASE' information? Ken Sipe | [email protected] | blog: http://kensipe.blogspot.com On Apr 13, 2011, at 10:34 PM, Rexxe wrote: > I recently switched from Maven to Gradle and am really struggling with it. I > don't want to have to go back to Maven since I like the concepts of Gradle > much more. I am currently trying to compile my code and I get the following > cryptic error and have no idea how to fix it: > > 20:26:47.112 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: > 20:26:47.112 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for > task ':services:compileJava'. > 20:26:47.112 [ERROR] [org.gradle.BuildExceptionReporter] Cause: Could not > resolve all dependencies for configuration ':services:compile': > 20:26:47.112 [ERROR] [org.gradle.BuildExceptionReporter] - unresolved > dependency: org.aspectj#aspectjrt;1.6.11.RELEASE: configuration not found in > org.aspectj#aspectjrt;1.6.11.RELEASE: 'master'. It was required from > parent#services;1.0 compile > > My build.gradle: > > compile { > 'org.springframework:spring-context:3.0.5.RELEASE', > 'org.springframework:spring-beans:3.0.5.RELEASE', > 'org.springframework:spring-test:3.0.5.RELEASE', > 'org.springframework.amqp:spring-amqp:1.0.0.RC1', > 'org.springframework.amqp:spring-rabbit:1.0.0.RC1', > > 'org.springframework.integration:spring-integration-core:2.0.3.RELEASE', > > 'org.springframework.integration:spring-integration-http:2.0.3.RELEASE', > 'org.springframework.security.oauth:spring-security-oauth:1.0.0.M3', > > 'org.springframework.integration:spring-integration-amqp:2.0.0.BUILD-SNAPSHOT', > 'org.springframework.security:spring-security-web:3.0.5.RELEASE', > 'org.springframework.security:spring-security-config:3.0.5.RELEASE', > 'org.springframework.data:spring-data-redis:1.0.0.M3', > 'com.rabbitmq:amqp-client:2.3.1', > 'org.eclipse.jetty:jetty-server:7.3.1.v20110307', > 'org.eclipse.jetty:jetty-servlet:7.3.1.v20110307', > 'org.slf4j:log4j-over-slf4j:1.6.1', > 'org.aspectj:aspectjrt:1.6.11.RELEASE', > 'org.springframework:spring-aspects:3.0.5.RELEASE', > 'org.springframework:spring-tx:3.0.5.RELEASE' > } > > I know that I have the write dependency for AspectJ 1.6.11 (getting it from > the Spring maven repo) as it works in another project I have. Any help would > be much appreciated! Thanks! --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
