{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch-mapper-attachments/issues/215","repository_url":"https://api.github.com/repos/elastic/elasticsearch-mapper-attachments","labels_url":"https://api.github.com/repos/elastic/elasticsearch-mapper-attachments/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-mapper-attachments/issues/215/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch-mapper-attachments/issues/215/events","html_url":"https://github.com/elastic/elasticsearch-mapper-attachments/issues/215","id":151716112,"number":215,"title":"Unable to build ","user":{"login":"bibordoloi","id":13487427,"avatar_url":"https://avatars.githubusercontent.com/u/13487427?v=3","gravatar_id":"","url":"https://api.github.com/users/bibordoloi","html_url":"https://github.com/bibordoloi","followers_url":"https://api.github.com/users/bibordoloi/followers","following_url":"https://api.github.com/users/bibordoloi/following{/other_user}","gists_url":"https://api.github.com/users/bibordoloi/gists{/gist_id}","starred_url":"https://api.github.com/users/bibordoloi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bibordoloi/subscriptions","organizations_url":"https://api.github.com/users/bibordoloi/orgs","repos_url":"https://api.github.com/users/bibordoloi/repos","events_url":"https://api.github.com/users/bibordoloi/events{/privacy}","received_events_url":"https://api.github.com/users/bibordoloi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-28T18:50:38Z","updated_at":"2016-04-28T21:43:09Z","closed_at":"2016-04-28T21:43:09Z","body":"Hi,\r\n\r\nI cloned the project and issued \"gradle build\". It errored out with the following error:\r\n\r\n_**FAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nCould not compile build file '/Users/bbordol/GitRepos/elasticsearch-mapper-attachments/build.gradle'.\r\n> startup failed:\r\n  build file '/Users/bbordol/GitRepos/elasticsearch-mapper-attachments/build.gradle': 20: unable to resolve class org.elasticsearch.gradle.ElasticsearchProperties\r\n   @ line 20, column 1.\r\n     import org.elasticsearch.gradle.ElasticsearchProperties\r\n     ^**_\r\n\r\nThe import was only used at two places so I hard coded the values to '2.3.1' and '5.5.0' for lucense version. But that didnt work as they lead to build errors further down indicating that the versions are not the right ones.\r\n\r\nFurthermore, I get the following error once I replace the properties:\r\nA problem occurred evaluating root project 'elasticsearch-mapper-attachments'.\r\n> No signature of method: static org.elasticsearch.gradle.precommit.DependencyLicensesTask.configure() is applicable for argument types: (org.gradle.api.internal.project.DefaultProject_Decorated, build_61932qhn0ehil3ncu1dr69vdf$_run_closure5) values: [root project 'elasticsearch-mapper-attachments', build_61932qhn0ehil3ncu1dr69vdf$_run_closure5@6dcf7b6a]\r\n  Possible solutions: configure(groovy.lang.Closure)\r\n\r\nI commented out the relevant call to .config to see if it would proceed successfully. \r\nIt then hit a bunch of errors about missing imports. I guess the some dependency versions are not matching the requirement.\r\n\r\nHow to build the project?\r\nI am using:\r\nGradle Version        : 2.13\r\n  OS Info               : Mac OS X 10.10.4 (x86_64)\r\n  JDK Version           : Oracle Corporation 1.8.0_51 [Java HotSpot(TM) 64-Bit Server VM 25.51-b03]\r\n\r\nThanks,\r\nBijoy\r\n\r\nPS: I am following up to the issue https://github.com/elastic/elasticsearch-mapper-attachments/issues/213. Trying to experiment and see if Tika can be used to extract \"Subject\" and \"page count\""},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch-mapper-attachments/issues/comments/215571885","html_url":"https://github.com/elastic/elasticsearch-mapper-attachments/issues/215#issuecomment-215571885","issue_url":"https://api.github.com/repos/elastic/elasticsearch-mapper-attachments/issues/215","id":215571885,"user":{"login":"dadoonet","id":274222,"avatar_url":"https://avatars.githubusercontent.com/u/274222?v=3","gravatar_id":"","url":"https://api.github.com/users/dadoonet","html_url":"https://github.com/dadoonet","followers_url":"https://api.github.com/users/dadoonet/followers","following_url":"https://api.github.com/users/dadoonet/following{/other_user}","gists_url":"https://api.github.com/users/dadoonet/gists{/gist_id}","starred_url":"https://api.github.com/users/dadoonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadoonet/subscriptions","organizations_url":"https://api.github.com/users/dadoonet/orgs","repos_url":"https://api.github.com/users/dadoonet/repos","events_url":"https://api.github.com/users/dadoonet/events{/privacy}","received_events_url":"https://api.github.com/users/dadoonet/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T21:43:09Z","updated_at":"2016-04-28T21:43:09Z","body":"This plugin moved to elasticsearch repo.\r\nYou should work from there."}}