# Could not get unknown property 'jar' for project ':core' of type org.gradle.ap i.Project

**URL:** https://discuss.elastic.co/t/could-not-get-unknown-property-jar-for-project-core-of-type-org-gradle-ap-i-project/98426
**Category:** Elasticsearch
**Created:** [August 26, 2017, 2:36am UTC](https://discuss.elastic.co/t/could-not-get-unknown-property-jar-for-project-core-of-type-org-gradle-ap-i-project/98426 "2017-08-26T02:36:27Z")
**Posts on this page:** 3
**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 26, 2017, 2:36am UTC](https://discuss.elastic.co/t/could-not-get-unknown-property-jar-for-project-core-of-type-org-gradle-ap-i-project/98426/1 "2017-08-26T02:36:27Z")

</div>

Elasticsearch version: 5.5.2  
OS: Windlws  
When I use gradle to build elasticsearch source code, I encounter a problem like this:

- What went wrong:  
A problem occurred evaluating project ':distribution'.

> Could not get unknown property 'jar' for project ':core' of type org.gradle.ap  
> i.Project.

I can't find ' org.gradle.api.Project' in build.gradle in elasticsearch-5.5.2\distribution.  
Anyone can tell me how to understand this message?

---

<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 26, 2017, 3:19am UTC](https://discuss.elastic.co/t/could-not-get-unknown-property-jar-for-project-core-of-type-org-gradle-ap-i-project/98426/2 "2017-08-26T03:19:37Z")

</div>

This problem has been resolved. add {} to the build.gradle in elasticsearch-5.5.2\distribution

---

<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 23, 2017, 3:20am UTC](https://discuss.elastic.co/t/could-not-get-unknown-property-jar-for-project-core-of-type-org-gradle-ap-i-project/98426/3 "2017-09-23T03:20:03Z")

</div>

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