{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gradle-appengine-plugin/issues/209","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gradle-appengine-plugin/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gradle-appengine-plugin/issues/209/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gradle-appengine-plugin/issues/209/events","html_url":"https://github.com/GoogleCloudPlatform/gradle-appengine-plugin/issues/209","id":111350975,"number":209,"title":"After running 'gradle eclipse', Eclipse says The App Engine SDK appengine-api-1.0-sdk-1.9.26.jar on the project's build path is not valid and is not a directory)","user":{"login":"jamesmortensen","id":1315816,"avatar_url":"https://avatars.githubusercontent.com/u/1315816?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesmortensen","html_url":"https://github.com/jamesmortensen","followers_url":"https://api.github.com/users/jamesmortensen/followers","following_url":"https://api.github.com/users/jamesmortensen/following{/other_user}","gists_url":"https://api.github.com/users/jamesmortensen/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesmortensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesmortensen/subscriptions","organizations_url":"https://api.github.com/users/jamesmortensen/orgs","repos_url":"https://api.github.com/users/jamesmortensen/repos","events_url":"https://api.github.com/users/jamesmortensen/events{/privacy}","received_events_url":"https://api.github.com/users/jamesmortensen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-14T08:44:37Z","updated_at":"2015-10-20T19:57:33Z","closed_at":null,"body":"I have successfully installed and configured the Gradle Google App Engine plugin for Eclipse, and I'm now able to manage dependencies without the need to commit them to source control.  \r\n\r\nHowever, the setup is easily broken when new dependencies are required. Running `gradle eclipse` regenerates the .classpath file, but there's a problem that occurs due to Eclipse needing to know the location of the installed App Engine SDK.  In order to resolve the issue, one must open Preferences -> Java Build Path -> Order And Export and then move all of the App Engine SDK libraries to the bottom while moving the installed App Engine SDK files to the top.  Moreover, the library mentioned in the error message must be moved to the absolute bottom of the list in \"Order and Export\".\r\n\r\n```\r\nDescription\tResource\tPath\tLocation\tType\r\nThe App Engine SDK '/Users/jem/.gradle/caches/modules-2/files-2.1/com.google.appengine/appengine-api-1.0-sdk/1.9.26/96df7122857b0b8ec0b478cb9fdac62bccdb89eb/appengine-api-1.0-sdk-1.9.26.jar' on the project's build path is not valid (SDK location '/Users/jem/.gradle/caches/modules-2/files-2.1/com.google.appengine/appengine-api-1.0-sdk/1.9.26/96df7122857b0b8ec0b478cb9fdac62bccdb89eb/appengine-api-1.0-sdk-1.9.26.jar' is not a directory)\tPostfix_Calculator_TDD\t\tUnknown\tGoogle App Engine Problem\r\n```\r\n\r\nEach time one runs `gradle eclipse`, the files must once again be manually moved to the bottom.  ***This is a a barrier to entry for the majority of average developers who are not active participants in the open source community.***\r\n\r\nTherefore, is it possible to make this more user friendly by configuring gradle so it moves these files to the bottom by default when running `gradle eclipse`?  This information was incredibly difficult to find. Even finding the Stack Overflow link below, for reference in this thread, took about 30 minutes since I did not bookmark it. We should make this work smoother for folks, if possible.\r\n\r\nHope this helps. Please let me know if you need more details. I'm happy to help.\r\n\r\n### Additional Information:\r\n- http://stackoverflow.com/q/4992693/552792\r\n- https://github.com/GoogleCloudPlatform/gradle-appengine-plugin/issues/184"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gradle-appengine-plugin/issues/comments/149683308","html_url":"https://github.com/GoogleCloudPlatform/gradle-appengine-plugin/issues/209#issuecomment-149683308","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gradle-appengine-plugin/issues/209","id":149683308,"user":{"login":"loosebazooka","id":1304826,"avatar_url":"https://avatars.githubusercontent.com/u/1304826?v=3","gravatar_id":"","url":"https://api.github.com/users/loosebazooka","html_url":"https://github.com/loosebazooka","followers_url":"https://api.github.com/users/loosebazooka/followers","following_url":"https://api.github.com/users/loosebazooka/following{/other_user}","gists_url":"https://api.github.com/users/loosebazooka/gists{/gist_id}","starred_url":"https://api.github.com/users/loosebazooka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loosebazooka/subscriptions","organizations_url":"https://api.github.com/users/loosebazooka/orgs","repos_url":"https://api.github.com/users/loosebazooka/repos","events_url":"https://api.github.com/users/loosebazooka/events{/privacy}","received_events_url":"https://api.github.com/users/loosebazooka/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T19:57:33Z","updated_at":"2015-10-20T19:57:33Z","body":"I mean #184 explains it.  The gradle appengine plugin's eclipse support is mostly generic, I don't think it plays well with the google plugin for eclipse (which largely depends on the eclipse builder).\r\n\r\nWe can try to fix this, but it's not the way it was intended to work (gpe has a different architecture).  I don't have any eclipse projects handy, but do you have a .classpath file that I can compare against.  I don't want to insert and gpe specific code in this plugin but *maybe* we can come up with some code that you can insert in your build.gradle that injects the appengineSDK dependency directly when running gradle eclipse."}}