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


(Alice) #1

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?


(Alice) #2

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


(system) #3

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