{"action":"created","issue":{"url":"https://api.github.com/repos/eclipsesource/J2V8/issues/158","repository_url":"https://api.github.com/repos/eclipsesource/J2V8","labels_url":"https://api.github.com/repos/eclipsesource/J2V8/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/eclipsesource/J2V8/issues/158/comments","events_url":"https://api.github.com/repos/eclipsesource/J2V8/issues/158/events","html_url":"https://github.com/eclipsesource/J2V8/issues/158","id":154258057,"number":158,"title":"Deliver 4.x stream to Maven Central","user":{"login":"AcaudalAoudad","id":17497673,"avatar_url":"https://avatars.githubusercontent.com/u/17497673?v=3","gravatar_id":"","url":"https://api.github.com/users/AcaudalAoudad","html_url":"https://github.com/AcaudalAoudad","followers_url":"https://api.github.com/users/AcaudalAoudad/followers","following_url":"https://api.github.com/users/AcaudalAoudad/following{/other_user}","gists_url":"https://api.github.com/users/AcaudalAoudad/gists{/gist_id}","starred_url":"https://api.github.com/users/AcaudalAoudad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AcaudalAoudad/subscriptions","organizations_url":"https://api.github.com/users/AcaudalAoudad/orgs","repos_url":"https://api.github.com/users/AcaudalAoudad/repos","events_url":"https://api.github.com/users/AcaudalAoudad/events{/privacy}","received_events_url":"https://api.github.com/users/AcaudalAoudad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-11T14:30:07Z","updated_at":"2016-05-11T21:45:14Z","closed_at":null,"body":"I'm new to using this project, but so far it's been amazing coming from Rhino, but I'm having an issue with unit testing.\r\n\r\nI started by using a compile import:\r\n\r\n`compile 'com.eclipsesource.j2v8:j2v8:4.1.0@aar'`\r\n\r\nThis works for the application, but testing failed with:\r\n\r\n`java.lang.IllegalStateException: J2V8 native library not loaded.`\r\n`Caused by: java.lang.UnsatisfiedLinkError: Could not load J2V8 library. Reasons: \r\n\tno j2v8_macosx_x86_64 in java.library.path`\r\n\r\nSo I added a test-only dependency with the explicit import for OS X via:\r\n\r\n`testCompile 'com.eclipsesource.j2v8:j2v8_macosx_x86_64:3.1.6' `\r\n\r\nAnd this worked, but the problem is I can't take advantage of 4.x features with that dependency, and there doesn't seem to be an OS X specific 4.0 import I can use.\r\n\r\nUsing the following doesn't seem to work either (I get the same problem with being unable to load the native library):\r\n\r\n`testCompile 'com.eclipsesource.j2v8:j2v8:4.1.0'`\r\n\r\nIs there a way I can get the OS X library loaded?"},"comment":{"url":"https://api.github.com/repos/eclipsesource/J2V8/issues/comments/218599793","html_url":"https://github.com/eclipsesource/J2V8/issues/158#issuecomment-218599793","issue_url":"https://api.github.com/repos/eclipsesource/J2V8/issues/158","id":218599793,"user":{"login":"AcaudalAoudad","id":17497673,"avatar_url":"https://avatars.githubusercontent.com/u/17497673?v=3","gravatar_id":"","url":"https://api.github.com/users/AcaudalAoudad","html_url":"https://github.com/AcaudalAoudad","followers_url":"https://api.github.com/users/AcaudalAoudad/followers","following_url":"https://api.github.com/users/AcaudalAoudad/following{/other_user}","gists_url":"https://api.github.com/users/AcaudalAoudad/gists{/gist_id}","starred_url":"https://api.github.com/users/AcaudalAoudad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AcaudalAoudad/subscriptions","organizations_url":"https://api.github.com/users/AcaudalAoudad/orgs","repos_url":"https://api.github.com/users/AcaudalAoudad/repos","events_url":"https://api.github.com/users/AcaudalAoudad/events{/privacy}","received_events_url":"https://api.github.com/users/AcaudalAoudad/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T21:45:13Z","updated_at":"2016-05-11T21:45:13Z","body":"Thanks, setting that up got it to find the correct native library, but now I'm getting an error when it attempts to load:\r\n\r\n`java.lang.IllegalStateException: J2V8 native library not loaded.`\r\n`...`\r\n`Caused by: java.lang.NoSuchMethodError: disposeMethodID`\r\n\r\nDoes that mean I grabbed an incompatible version of the library from your link?"}}