{"action":"created","issue":{"url":"https://api.github.com/repos/palantir/gradle-jacoco-coverage/issues/9","labels_url":"https://api.github.com/repos/palantir/gradle-jacoco-coverage/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/palantir/gradle-jacoco-coverage/issues/9/comments","events_url":"https://api.github.com/repos/palantir/gradle-jacoco-coverage/issues/9/events","html_url":"https://github.com/palantir/gradle-jacoco-coverage/issues/9","id":103548129,"number":9,"title":"Missing jar dependency","user":{"login":"dbmalkovsky","id":1105445,"avatar_url":"https://avatars.githubusercontent.com/u/1105445?v=3","gravatar_id":"","url":"https://api.github.com/users/dbmalkovsky","html_url":"https://github.com/dbmalkovsky","followers_url":"https://api.github.com/users/dbmalkovsky/followers","following_url":"https://api.github.com/users/dbmalkovsky/following{/other_user}","gists_url":"https://api.github.com/users/dbmalkovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dbmalkovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbmalkovsky/subscriptions","organizations_url":"https://api.github.com/users/dbmalkovsky/orgs","repos_url":"https://api.github.com/users/dbmalkovsky/repos","events_url":"https://api.github.com/users/dbmalkovsky/events{/privacy}","received_events_url":"https://api.github.com/users/dbmalkovsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-27T16:36:30Z","updated_at":"2015-09-01T17:04:20Z","closed_at":null,"body":"I found I had to add a classpath dependency of the form:\r\n\r\n   classpath \"com.google.guava:guava:+\"\r\n\r\nto my build.gradle file to get jacoco-coverage to work.\r\n\r\nWithout the jar I see messages like:\r\n\r\n> Failed to apply plugin [id 'com.palantir.jacoco-coverage']\r\n   > Could not create an instance of type com.palantir.jacoco.JacocoCoverageExtension_Decorated.\r\n "},"comment":{"url":"https://api.github.com/repos/palantir/gradle-jacoco-coverage/issues/comments/136797085","html_url":"https://github.com/palantir/gradle-jacoco-coverage/issues/9#issuecomment-136797085","issue_url":"https://api.github.com/repos/palantir/gradle-jacoco-coverage/issues/9","id":136797085,"user":{"login":"dbmalkovsky","id":1105445,"avatar_url":"https://avatars.githubusercontent.com/u/1105445?v=3","gravatar_id":"","url":"https://api.github.com/users/dbmalkovsky","html_url":"https://github.com/dbmalkovsky","followers_url":"https://api.github.com/users/dbmalkovsky/followers","following_url":"https://api.github.com/users/dbmalkovsky/following{/other_user}","gists_url":"https://api.github.com/users/dbmalkovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dbmalkovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbmalkovsky/subscriptions","organizations_url":"https://api.github.com/users/dbmalkovsky/orgs","repos_url":"https://api.github.com/users/dbmalkovsky/repos","events_url":"https://api.github.com/users/dbmalkovsky/events{/privacy}","received_events_url":"https://api.github.com/users/dbmalkovsky/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T17:04:20Z","updated_at":"2015-09-01T17:04:20Z","body":"My bad; sorry; I was running with gradle verison 2.6.\r\n\r\nUsing the Gradle wrapper (version 2.4); I get 3 failures:\r\n\r\ncom.palantir.jacoco.JacocoFullReportPluginTest > jacoco-full-report reports on union of execution data FAILED\r\n    org.gradle.api.GradleException at JacocoFullReportPluginTest.groovy:152\r\n        Caused by: org.gradle.internal.exceptions.LocationAwareException\r\n            Caused by: org.gradle.api.tasks.TaskExecutionException\r\n                Caused by: org.gradle.process.internal.ExecException\r\n\r\ncom.palantir.jacoco.JacocoFullReportPluginTest > jacoco-full-report works when only some subprojects provide execution data FAILED\r\n    org.gradle.api.GradleException at JacocoFullReportPluginTest.groovy:166\r\n        Caused by: org.gradle.internal.exceptions.LocationAwareException\r\n            Caused by: org.gradle.api.tasks.TaskExecutionException\r\n                Caused by: org.gradle.process.internal.ExecException\r\n\r\ncom.palantir.jacoco.JacocoFullReportPluginTest > jacocoFullReport object has non-null sourceDirectories even when task did not run FAILED\r\n    org.gradle.api.GradleException at JacocoFullReportPluginTest.groovy:194\r\n        Caused by: org.gradle.internal.exceptions.LocationAwareException\r\n            Caused by: org.gradle.api.tasks.TaskExecutionException\r\n                Caused by: org.gradle.process.internal.ExecException\r\n\r\n20 tests completed, 3 failed\r\n:test FAILED\r\n"}}