{"action":"created","issue":{"url":"https://api.github.com/repos/spring-gradle-plugins/dependency-management-plugin/issues/46","labels_url":"https://api.github.com/repos/spring-gradle-plugins/dependency-management-plugin/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/spring-gradle-plugins/dependency-management-plugin/issues/46/comments","events_url":"https://api.github.com/repos/spring-gradle-plugins/dependency-management-plugin/issues/46/events","html_url":"https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/46","id":66702386,"number":46,"title":"Cyclic project dependency fails to resolve","user":{"login":"checketts","id":416063,"avatar_url":"https://avatars.githubusercontent.com/u/416063?v=3","gravatar_id":"","url":"https://api.github.com/users/checketts","html_url":"https://github.com/checketts","followers_url":"https://api.github.com/users/checketts/followers","following_url":"https://api.github.com/users/checketts/following{/other_user}","gists_url":"https://api.github.com/users/checketts/gists{/gist_id}","starred_url":"https://api.github.com/users/checketts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/checketts/subscriptions","organizations_url":"https://api.github.com/users/checketts/orgs","repos_url":"https://api.github.com/users/checketts/repos","events_url":"https://api.github.com/users/checketts/events{/privacy}","received_events_url":"https://api.github.com/users/checketts/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-gradle-plugins/dependency-management-plugin/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-06T20:51:22Z","updated_at":"2015-09-21T11:34:55Z","closed_at":"2015-04-22T16:57:53Z","body":"I have 2 projects that are inter-dependent.\r\n\r\n*my-module*\r\n````\r\ndependencies {\r\n  testCompile project(':my-module-test-utils')\r\n}\r\n````\r\n\r\n*my-module-test-utils*\r\n````\r\ndependencies {\r\n  compile project(':my-module')\r\n}\r\n````\r\n\r\nWhen compiling I get the following error:\r\n```\r\n> Could not resolve all dependencies for configuration ':my-module:testRuntimeCopy'.\r\n  > Module version com.example:my-module-test-utils:0.1.1, configuration 'default' declares a dependency on configuration 'default' which is not declared in the module descriptor for com.example:my-module:7.0.0\r\n```\r\n\r\nThis used to work with the `0.1.RELEASE`, but ran into it when I tried upgrading to the latest version."},"comment":{"url":"https://api.github.com/repos/spring-gradle-plugins/dependency-management-plugin/issues/comments/141947676","html_url":"https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/46#issuecomment-141947676","issue_url":"https://api.github.com/repos/spring-gradle-plugins/dependency-management-plugin/issues/46","id":141947676,"user":{"login":"wilkinsona","id":914682,"avatar_url":"https://avatars.githubusercontent.com/u/914682?v=3","gravatar_id":"","url":"https://api.github.com/users/wilkinsona","html_url":"https://github.com/wilkinsona","followers_url":"https://api.github.com/users/wilkinsona/followers","following_url":"https://api.github.com/users/wilkinsona/following{/other_user}","gists_url":"https://api.github.com/users/wilkinsona/gists{/gist_id}","starred_url":"https://api.github.com/users/wilkinsona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilkinsona/subscriptions","organizations_url":"https://api.github.com/users/wilkinsona/orgs","repos_url":"https://api.github.com/users/wilkinsona/repos","events_url":"https://api.github.com/users/wilkinsona/events{/privacy}","received_events_url":"https://api.github.com/users/wilkinsona/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T11:34:55Z","updated_at":"2015-09-21T11:34:55Z","body":"As suspected, you have a dependency cycle. Until there's a fix for [GRADLE-3280](https://issues.gradle.org/browse/GRADLE-3280), you'll either have to set `applyMavenExclusions` to `false` or restructure your build to break the cycle."}}