{"action":"closed","issue":{"url":"https://api.github.com/repos/GradleFx/GradleFx/issues/187","labels_url":"https://api.github.com/repos/GradleFx/GradleFx/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/GradleFx/GradleFx/issues/187/comments","events_url":"https://api.github.com/repos/GradleFx/GradleFx/issues/187/events","html_url":"https://github.com/GradleFx/GradleFx/issues/187","id":90734478,"number":187,"title":"error handling for missing FLEX_HOME","user":{"login":"paleozogt","id":310894,"avatar_url":"https://avatars.githubusercontent.com/u/310894?v=3","gravatar_id":"","url":"https://api.github.com/users/paleozogt","html_url":"https://github.com/paleozogt","followers_url":"https://api.github.com/users/paleozogt/followers","following_url":"https://api.github.com/users/paleozogt/following{/other_user}","gists_url":"https://api.github.com/users/paleozogt/gists{/gist_id}","starred_url":"https://api.github.com/users/paleozogt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paleozogt/subscriptions","organizations_url":"https://api.github.com/users/paleozogt/orgs","repos_url":"https://api.github.com/users/paleozogt/repos","events_url":"https://api.github.com/users/paleozogt/events{/privacy}","received_events_url":"https://api.github.com/users/paleozogt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GradleFx/GradleFx/labels/Improvement","name":"Improvement","color":"e102d8"}],"state":"closed","locked":false,"assignee":{"login":"SlevinBE","id":481541,"avatar_url":"https://avatars.githubusercontent.com/u/481541?v=3","gravatar_id":"","url":"https://api.github.com/users/SlevinBE","html_url":"https://github.com/SlevinBE","followers_url":"https://api.github.com/users/SlevinBE/followers","following_url":"https://api.github.com/users/SlevinBE/following{/other_user}","gists_url":"https://api.github.com/users/SlevinBE/gists{/gist_id}","starred_url":"https://api.github.com/users/SlevinBE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SlevinBE/subscriptions","organizations_url":"https://api.github.com/users/SlevinBE/orgs","repos_url":"https://api.github.com/users/SlevinBE/repos","events_url":"https://api.github.com/users/SlevinBE/events{/privacy}","received_events_url":"https://api.github.com/users/SlevinBE/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/GradleFx/GradleFx/milestones/15","html_url":"https://github.com/GradleFx/GradleFx/milestones/Next","labels_url":"https://api.github.com/repos/GradleFx/GradleFx/milestones/15/labels","id":1076546,"number":15,"title":"Next","description":"","creator":{"login":"SlevinBE","id":481541,"avatar_url":"https://avatars.githubusercontent.com/u/481541?v=3","gravatar_id":"","url":"https://api.github.com/users/SlevinBE","html_url":"https://github.com/SlevinBE","followers_url":"https://api.github.com/users/SlevinBE/followers","following_url":"https://api.github.com/users/SlevinBE/following{/other_user}","gists_url":"https://api.github.com/users/SlevinBE/gists{/gist_id}","starred_url":"https://api.github.com/users/SlevinBE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SlevinBE/subscriptions","organizations_url":"https://api.github.com/users/SlevinBE/orgs","repos_url":"https://api.github.com/users/SlevinBE/repos","events_url":"https://api.github.com/users/SlevinBE/events{/privacy}","received_events_url":"https://api.github.com/users/SlevinBE/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":6,"state":"open","created_at":"2015-04-21T06:19:18Z","updated_at":"2015-07-05T11:33:12Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-06-24T17:07:53Z","updated_at":"2015-07-05T11:33:12Z","closed_at":"2015-07-05T11:33:12Z","body":"Right now if a user doesn't have FLEX_HOME setup, the error is extremely obscure:\r\n```\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nA problem occurred configuring project ':swf'.\r\n> Ambiguous method overloading for method java.io.File#<init>.\r\n  Cannot resolve which method to invoke for [null] due to overlapping prototypes between:\r\n  \t[class java.lang.String]\r\n  \t[class java.net.URI]\r\n```\r\n\r\nI have to code up a check for FLEX_HOME myself in my build.gradle in order to give a decent error message.  Can we have gradlefx give a better error message?"}}