{"action":"created","issue":{"url":"https://api.github.com/repos/brunobowden/j2objc-gradle/issues/25","labels_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/issues/25/comments","events_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/issues/25/events","html_url":"https://github.com/brunobowden/j2objc-gradle/issues/25","id":67966610,"number":25,"title":"following instructions but getting an error with simple gradle file.","user":{"login":"formvoltron","id":413076,"avatar_url":"https://avatars.githubusercontent.com/u/413076?v=3","gravatar_id":"","url":"https://api.github.com/users/formvoltron","html_url":"https://github.com/formvoltron","followers_url":"https://api.github.com/users/formvoltron/followers","following_url":"https://api.github.com/users/formvoltron/following{/other_user}","gists_url":"https://api.github.com/users/formvoltron/gists{/gist_id}","starred_url":"https://api.github.com/users/formvoltron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/formvoltron/subscriptions","organizations_url":"https://api.github.com/users/formvoltron/orgs","repos_url":"https://api.github.com/users/formvoltron/repos","events_url":"https://api.github.com/users/formvoltron/events{/privacy}","received_events_url":"https://api.github.com/users/formvoltron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-12T22:15:13Z","updated_at":"2015-04-13T09:57:07Z","closed_at":null,"body":"I'm following the instructions.    Using the latest j2objc  0.97   gradle 2.3   Mac OSX 10.9  java version \"1.7.0_76\"\r\n\r\nI'm using a simple gradle file.  Just a few java classes & Interfaces.    the only dependencies are mockito and junit.  \r\n\r\nI did not edit the j2objc.gradle file as the instructions did not say to do so.\r\n\r\nI'm getting the error:  \r\n\r\ngradle --stacktrace j2objcTranslate\r\n\r\n* Where:\r\nScript '/Users/mattpease/IdeaProjects/clean_architecture_tests/j2objc.gradle' line: 161\r\n\r\n* What went wrong:\r\nA problem occurred evaluating script.\r\n> Failed to apply plugin [class 'j2objc']\r\n   > Could not create an instance of type J2objcPluginExtension_Decorated.\r\n\r\n* Try:\r\nRun with --info or --debug option to get more log output.\r\n\r\n* Exception is:\r\norg.gradle.api.GradleScriptException: A problem occurred evaluating script.\r\n\tat org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54)\r\n\r\n\r\n\r\n\r\nMy build.gradle \r\napply plugin: 'java'\r\n\r\nsourceCompatibility = 1.7\r\nversion = '1.0'\r\n\r\nrepositories {\r\n    mavenCentral()\r\n}\r\n\r\ndependencies {\r\n    testCompile 'junit:junit:4.12'\r\n    testCompile 'org.mockito:mockito-core:1.10.19'\r\n}\r\n\r\ntest {\r\n    testLogging {\r\n        events \"passed\", \"skipped\", \"failed\"\r\n    }\r\n\r\n    testLogging.showStandardStreams = true\r\n}\r\n\r\n\r\napply from: 'j2objc.gradle'\r\n\r\nj2objcConfig {\r\n//    MODIFY to where your unzipped j2objc directory is located\r\n//    NOTE download the latest version from: https://github.com/google/j2objc/releases\r\n   j2objcHome \"/javalibs/j2objc-0.9.7\"\r\n\r\n//    MODIFY to where generated objc files should be put for Xcode project\r\n//    NOTE these files should be checked in to the repository and updated as needed\r\n//    NOTE this should contain ONLY j2objc generated files, other contents will be deleted\r\n    destDir \"${projectDir}/j2objc-generated\"\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/brunobowden/j2objc-gradle/issues/comments/92297433","html_url":"https://github.com/brunobowden/j2objc-gradle/issues/25#issuecomment-92297433","issue_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/issues/25","id":92297433,"user":{"login":"formvoltron","id":413076,"avatar_url":"https://avatars.githubusercontent.com/u/413076?v=3","gravatar_id":"","url":"https://api.github.com/users/formvoltron","html_url":"https://github.com/formvoltron","followers_url":"https://api.github.com/users/formvoltron/followers","following_url":"https://api.github.com/users/formvoltron/following{/other_user}","gists_url":"https://api.github.com/users/formvoltron/gists{/gist_id}","starred_url":"https://api.github.com/users/formvoltron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/formvoltron/subscriptions","organizations_url":"https://api.github.com/users/formvoltron/orgs","repos_url":"https://api.github.com/users/formvoltron/repos","events_url":"https://api.github.com/users/formvoltron/events{/privacy}","received_events_url":"https://api.github.com/users/formvoltron/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T09:57:07Z","updated_at":"2015-04-13T09:57:07Z","body":"Works now, Very good!  I knew it was something very simple.  Just didn't know which piece to fiddle with.\r\n\r\nNow on to figuring out how to integrate into my XCode project."}}