# \> Project :benchmarks declares a dependency from configuration 'compile' t configuration 'default' which is not declared in the descriptor for project :c re

**URL:** <https://discuss.elastic.co/t/project-benchmarks-declares-a-dependency-from-configuration-compile-t-configuration-default-which-is-not-declared-in-the-descriptor-for-project-c-re/98518>\
**Category:** Elasticsearch\
**Created:** [August 28, 2017, 8:06am UTC](https://discuss.elastic.co/t/project-benchmarks-declares-a-dependency-from-configuration-compile-t-configuration-default-which-is-not-declared-in-the-descriptor-for-project-c-re/98518 "2017-08-28T08:06:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saliormoon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saliormoon/32/21499_2.png) [@saliormoon](https://discuss.elastic.co/u/saliormoon)\
**Post date:** [August 28, 2017, 8:06am UTC](https://discuss.elastic.co/t/project-benchmarks-declares-a-dependency-from-configuration-compile-t-configuration-default-which-is-not-declared-in-the-descriptor-for-project-c-re/98518/1 "2017-08-28T08:06:25Z")

</div>

elasticsearch version: 5.5.2  
Operating System: Windows  
Gradle version: 3.5  
When I use gradle 3.5 to build elasticsearch source code 5.5.2, it has a exception, like this:  
What went wrong:  
ould not determine the dependencies of task ':benchmarks:shadowJar'.  
Could not resolve all dependencies for configuration ':benchmarks:runtime'.

> Could not resolve org.elasticsearch:elasticsearch:5.5.2-SNAPSHOT.  
> Required by:  
> project :benchmarks  
> Project :benchmarks declares a dependency from configuration 'compile' t  
> configuration 'default' which is not declared in the descriptor for project :c  
> re.

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

Could anyone can help me with this problem?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 25, 2017, 8:06am UTC](https://discuss.elastic.co/t/project-benchmarks-declares-a-dependency-from-configuration-compile-t-configuration-default-which-is-not-declared-in-the-descriptor-for-project-c-re/98518/2 "2017-09-25T08:06:45Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
