{"action":"created","issue":{"url":"https://api.github.com/repos/twofortyfouram/android-plugin-client-sdk-for-locale/issues/3","labels_url":"https://api.github.com/repos/twofortyfouram/android-plugin-client-sdk-for-locale/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/twofortyfouram/android-plugin-client-sdk-for-locale/issues/3/comments","events_url":"https://api.github.com/repos/twofortyfouram/android-plugin-client-sdk-for-locale/issues/3/events","html_url":"https://github.com/twofortyfouram/android-plugin-client-sdk-for-locale/issues/3","id":117832606,"number":3,"title":"JAR build would be appriciated","user":{"login":"GaidamakUA","id":2983027,"avatar_url":"https://avatars.githubusercontent.com/u/2983027?v=3","gravatar_id":"","url":"https://api.github.com/users/GaidamakUA","html_url":"https://github.com/GaidamakUA","followers_url":"https://api.github.com/users/GaidamakUA/followers","following_url":"https://api.github.com/users/GaidamakUA/following{/other_user}","gists_url":"https://api.github.com/users/GaidamakUA/gists{/gist_id}","starred_url":"https://api.github.com/users/GaidamakUA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaidamakUA/subscriptions","organizations_url":"https://api.github.com/users/GaidamakUA/orgs","repos_url":"https://api.github.com/users/GaidamakUA/repos","events_url":"https://api.github.com/users/GaidamakUA/events{/privacy}","received_events_url":"https://api.github.com/users/GaidamakUA/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-19T15:05:28Z","updated_at":"2015-11-20T16:41:41Z","closed_at":null,"body":"Some of our team members uses Eclipse. And It would be nice if you made jar builds for your libraries, so I won't have to include a lot of source code to our project to make your library run on Eclipse."},"comment":{"url":"https://api.github.com/repos/twofortyfouram/android-plugin-client-sdk-for-locale/issues/comments/158454361","html_url":"https://github.com/twofortyfouram/android-plugin-client-sdk-for-locale/issues/3#issuecomment-158454361","issue_url":"https://api.github.com/repos/twofortyfouram/android-plugin-client-sdk-for-locale/issues/3","id":158454361,"user":{"login":"ccjernigan","id":699907,"avatar_url":"https://avatars.githubusercontent.com/u/699907?v=3","gravatar_id":"","url":"https://api.github.com/users/ccjernigan","html_url":"https://github.com/ccjernigan","followers_url":"https://api.github.com/users/ccjernigan/followers","following_url":"https://api.github.com/users/ccjernigan/following{/other_user}","gists_url":"https://api.github.com/users/ccjernigan/gists{/gist_id}","starred_url":"https://api.github.com/users/ccjernigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccjernigan/subscriptions","organizations_url":"https://api.github.com/users/ccjernigan/orgs","repos_url":"https://api.github.com/users/ccjernigan/repos","events_url":"https://api.github.com/users/ccjernigan/events{/privacy}","received_events_url":"https://api.github.com/users/ccjernigan/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T16:41:41Z","updated_at":"2015-11-20T16:41:41Z","body":"Great suggestion.  Unfortunately, I think using Eclipse is going to unfortunately require copying and pasting.\r\n\r\nThe old Eclipse versions of our plug-in examples, [Toast](http://www.244.am/developer/toast.zip) and [Display](http://www.244.am/developer/display.zip), contained all of the code necessary to be a plug-in.  There was no SDK.  Every plug-in contained its own copy of the code necessary.  This was not ideal because it made rebasing plug-in implementations on our latest changes very difficult.  However this approach was intentional because we needed Android resources that the JAR format does not support.\r\n\r\nGoing forward we are relying on the AAR format and Gradle to provide Android resources, Manifest placeholders, proguard-consumer.txt, transitive dependencies, and other features.  There's no way to provide that with a JAR.\r\n\r\nWhile we could create an uber-JAR using Jar Jar Links to mitigate the need for transitive dependencies, that still leaves the issue of resources, Manifest entries, ProGuard directives, etc.  I don't see the value of using Jar Jar given the amount of manual work that would remain.  We also at one point used a \"reflective\" way of accessing resources to make that less painful with JARs, however that broke with resource optimization provided by [DexGuard](https://www.guardsquare.com) and was fidgety with `shrinkResources true` provided by the Android Gradle plugin.\r\n\r\nGiven all of that, I see the options available to you are:\r\n - Use the old examples.\r\n - Migrate to Gradle.\r\n - Use the new examples, but extract the JARs, resources, manifest entries, and transitive dependencies manually.  This means downloading the [AAR](https://bintray.com/artifact/download/twofortyfouram/maven/com/twofortyfouram/android-plugin-client-sdk-for-locale/4.0.0/android-plugin-client-sdk-for-locale-4.0.0.aar) from Bintray, unzipping it, and copying the various elements into your project.  You'll also need to follow the transitive dependencies in the [POM](https://bintray.com/artifact/download/twofortyfouram/maven/com/twofortyfouram/android-plugin-client-sdk-for-locale/4.0.0/android-plugin-client-sdk-for-locale-4.0.0.pom) and do the same thing.  "}}