{"action":"created","issue":{"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/261","labels_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/261/comments","events_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/261/events","html_url":"https://github.com/j2objc-contrib/j2objc-gradle/issues/261","id":92412848,"number":261,"title":"Internal compiler error: java.util.ServiceConfigurationError: javax.annotation.processing.Processor","user":{"login":"confile","id":64265,"avatar_url":"https://avatars.githubusercontent.com/u/64265?v=3","gravatar_id":"","url":"https://api.github.com/users/confile","html_url":"https://github.com/confile","followers_url":"https://api.github.com/users/confile/followers","following_url":"https://api.github.com/users/confile/following{/other_user}","gists_url":"https://api.github.com/users/confile/gists{/gist_id}","starred_url":"https://api.github.com/users/confile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/confile/subscriptions","organizations_url":"https://api.github.com/users/confile/orgs","repos_url":"https://api.github.com/users/confile/repos","events_url":"https://api.github.com/users/confile/events{/privacy}","received_events_url":"https://api.github.com/users/confile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/milestones/5","html_url":"https://github.com/j2objc-contrib/j2objc-gradle/milestones/0.4%20Release","labels_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/milestones/5/labels","id":1189599,"number":5,"title":"0.4 Release","description":"","creator":{"login":"brunobowden","id":679339,"avatar_url":"https://avatars.githubusercontent.com/u/679339?v=3","gravatar_id":"","url":"https://api.github.com/users/brunobowden","html_url":"https://github.com/brunobowden","followers_url":"https://api.github.com/users/brunobowden/followers","following_url":"https://api.github.com/users/brunobowden/following{/other_user}","gists_url":"https://api.github.com/users/brunobowden/gists{/gist_id}","starred_url":"https://api.github.com/users/brunobowden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunobowden/subscriptions","organizations_url":"https://api.github.com/users/brunobowden/orgs","repos_url":"https://api.github.com/users/brunobowden/repos","events_url":"https://api.github.com/users/brunobowden/events{/privacy}","received_events_url":"https://api.github.com/users/brunobowden/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":22,"state":"open","created_at":"2015-07-01T19:19:35Z","updated_at":"2015-07-21T19:34:03Z","due_on":"2015-07-23T07:00:00Z","closed_at":null},"comments":32,"created_at":"2015-07-01T15:26:43Z","updated_at":"2015-07-21T20:53:07Z","closed_at":null,"body":"- j2objc plugin version commit \"Merge pull request #253 from j2objc-contrib/release_v0.3.0-alpha\" commit 556edca1ccbaaaf8951a1e78b935175a6064c080\r\n\r\n- setup: two projects majestella-base, majestella-main. \r\n\r\n[majestella-base build.gradle](https://gist.github.com/confile/bfadfdc00fc7ef85fd90)\r\n[majestella-main build.gradle](https://gist.github.com/confile/594fb533a30166405e76) I removed the following line from the build-gradle \r\n\r\n```\r\ntranslateJ2objcLibs \"j2objc_annotations.jar\", \"j2objc_guava.jar\", \"javax.inject-1.jar\", \"jsr305-3.0.0.jar\"\r\n```\r\n\r\n[majestella-main settings.gradle](https://gist.github.com/confile/ed4a4b29ecbf8b24ace0)\r\n\r\nthere is no root project or root build.gradle\r\n\r\nrunning ``./gradlew j2objcXcode --no-daemon --stacktrace`` leads to the following error: \r\n\r\n```\r\n:majestella-base:j2objcTest FAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':majestella-base:j2objcTest'.\r\n> java.lang.Exception: No unit tests were run. Unit tests are strongly encouraged with J2ObjC.\r\n  J2ObjC build of project 'majestella-base'\r\n  \r\n  To disable this check (against best practice), modify build.gradle:\r\n  \r\n  j2objcConfig {\r\n      testMinExpectedTests 0\r\n  }\r\n\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.tasks.TaskExecutionException: Execution failed for task ':majestella-base:j2objcTest'.\r\n\tat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)\r\n\tat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)\r\n\tat org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)\r\n\tat org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)\r\n\tat org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)\r\n\tat org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)\r\n\tat org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)\r\n\tat org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)\r\n\tat org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)\r\n\tat org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:310)\r\n\tat org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)\r\n\tat org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)\r\n\tat org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)\r\n\tat org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23)\r\n\tat org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:88)\r\n\tat org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)\r\n\tat org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)\r\n\tat org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)\r\n\tat org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68)\r\n\tat org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)\r\n\tat org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)\r\n\tat org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55)\r\n\tat org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)\r\n\tat org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)\r\n\tat org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)\r\n\tat org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:90)\r\n\tat org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)\r\n\tat org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)\r\n\tat org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)\r\n\tat org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)\r\n\tat org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:50)\r\n\tat org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:27)\r\n\tat org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:40)\r\n\tat org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:169)\r\n\tat org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)\r\n\tat org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)\r\n\tat org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)\r\n\tat org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)\r\n\tat org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)\r\n\tat org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)\r\n\tat org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)\r\n\tat org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)\r\n\tat org.gradle.launcher.Main.doAction(Main.java:33)\r\n\tat org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)\r\n\tat org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)\r\n\tat org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)\r\n\tat org.gradle.launcher.GradleMain.main(GradleMain.java:23)\r\n\tat org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)\r\n\tat org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)\r\n\tat org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)\r\nCaused by: org.gradle.internal.UncheckedException: java.lang.Exception: No unit tests were run. Unit tests are strongly encouraged with J2ObjC.\r\nJ2ObjC build of project 'majestella-base'\r\n\r\nTo disable this check (against best practice), modify build.gradle:\r\n\r\nj2objcConfig {\r\n    testMinExpectedTests 0\r\n}\r\n\r\n\tat org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:45)\r\n\tat org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:78)\r\n\tat org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:226)\r\n\tat org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:219)\r\n\tat org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:208)\r\n\tat org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:589)\r\n\tat org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:572)\r\n\tat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)\r\n\tat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)\r\n\t... 49 more\r\nCaused by: java.lang.Exception: No unit tests were run. Unit tests are strongly encouraged with J2ObjC.\r\nJ2ObjC build of project 'majestella-base'\r\n\r\nTo disable this check (against best practice), modify build.gradle:\r\n\r\nj2objcConfig {\r\n    testMinExpectedTests 0\r\n}\r\n\r\n\tat com.github.j2objccontrib.j2objcgradle.tasks.TestTask.test(TestTask.groovy:160)\r\n\tat org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)\r\n\t... 56 more\r\n\r\n\r\nBUILD FAILED\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/comments/123474016","html_url":"https://github.com/j2objc-contrib/j2objc-gradle/issues/261#issuecomment-123474016","issue_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/261","id":123474016,"user":{"login":"confile","id":64265,"avatar_url":"https://avatars.githubusercontent.com/u/64265?v=3","gravatar_id":"","url":"https://api.github.com/users/confile","html_url":"https://github.com/confile","followers_url":"https://api.github.com/users/confile/followers","following_url":"https://api.github.com/users/confile/following{/other_user}","gists_url":"https://api.github.com/users/confile/gists{/gist_id}","starred_url":"https://api.github.com/users/confile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/confile/subscriptions","organizations_url":"https://api.github.com/users/confile/orgs","repos_url":"https://api.github.com/users/confile/repos","events_url":"https://api.github.com/users/confile/events{/privacy}","received_events_url":"https://api.github.com/users/confile/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T20:53:07Z","updated_at":"2015-07-21T20:53:07Z","body":"Yes I have the same version running with annotation processor perfectly with the old gralde j2objc plugin. \r\n\r\nDo you want me to post the command line of the success?"}}