{"action":"created","issue":{"url":"https://api.github.com/repos/andruhon/android5xlsx/issues/1","repository_url":"https://api.github.com/repos/andruhon/android5xlsx","labels_url":"https://api.github.com/repos/andruhon/android5xlsx/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/andruhon/android5xlsx/issues/1/comments","events_url":"https://api.github.com/repos/andruhon/android5xlsx/issues/1/events","html_url":"https://github.com/andruhon/android5xlsx/issues/1","id":127938266,"number":1,"title":"How do I add Apache POI Scratchpad module?","user":{"login":"timkoers","id":4262725,"avatar_url":"https://avatars.githubusercontent.com/u/4262725?v=3","gravatar_id":"","url":"https://api.github.com/users/timkoers","html_url":"https://github.com/timkoers","followers_url":"https://api.github.com/users/timkoers/followers","following_url":"https://api.github.com/users/timkoers/following{/other_user}","gists_url":"https://api.github.com/users/timkoers/gists{/gist_id}","starred_url":"https://api.github.com/users/timkoers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timkoers/subscriptions","organizations_url":"https://api.github.com/users/timkoers/orgs","repos_url":"https://api.github.com/users/timkoers/repos","events_url":"https://api.github.com/users/timkoers/events{/privacy}","received_events_url":"https://api.github.com/users/timkoers/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-01-21T14:39:37Z","updated_at":"2016-03-07T20:30:31Z","closed_at":"2016-01-26T12:21:39Z","body":"When adding the scratchpad dependency (version 3.12) I get the following error when building the apk.\r\n\r\nError:Execution failed for task ':mobile:transformClassesWithJarMergingForDebug'.\r\n> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: org/apache/poi/EmptyFileException.class\r\n\r\nOr \r\nError:Execution failed for task ':mobile:transformClassesWithJarMergingForDebug'.\r\n> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: org/apache/poi/POIXMLDocument.class\r\n\r\nBtw, this code:\r\n\r\nproject.tasks.withType(com.android.build.gradle.tasks.Dex) {\r\n        additionalParameters=['--core-library'] // --core-library option needed for now, will fix it soon\r\n    }\r\n\r\nis not working. It throws the error \r\nCould not find property 'com' on com.android.build.gradle.AppExtension_Decorated@d2d97f\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/andruhon/android5xlsx/issues/comments/193436085","html_url":"https://github.com/andruhon/android5xlsx/issues/1#issuecomment-193436085","issue_url":"https://api.github.com/repos/andruhon/android5xlsx/issues/1","id":193436085,"user":{"login":"andruhon","id":1694497,"avatar_url":"https://avatars.githubusercontent.com/u/1694497?v=3","gravatar_id":"","url":"https://api.github.com/users/andruhon","html_url":"https://github.com/andruhon","followers_url":"https://api.github.com/users/andruhon/followers","following_url":"https://api.github.com/users/andruhon/following{/other_user}","gists_url":"https://api.github.com/users/andruhon/gists{/gist_id}","starred_url":"https://api.github.com/users/andruhon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andruhon/subscriptions","organizations_url":"https://api.github.com/users/andruhon/orgs","repos_url":"https://api.github.com/users/andruhon/repos","events_url":"https://api.github.com/users/andruhon/events{/privacy}","received_events_url":"https://api.github.com/users/andruhon/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T20:30:31Z","updated_at":"2016-03-07T20:30:31Z","body":"@timkoers does it work for you on desktop JVM?"}}