question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

org.jacoco:org.jacoco.ant dependency not found?

See original GitHub issue

Running this plugin I get an output of:

The following dependencies have later milestone versions:
 - org.jacoco:org.jacoco.ant [0.8.3 -> 0.8.7]
     http://jacoco.org

but if I do a global search for jacoco, it does not exist. Any ideas why this could be showing. Is it in some cache?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
ben-manescommented, Aug 11, 2021

Does this mean that every android project just includes jacoco by default and there’s nothing we can do to stop gradle-versions-plugin from telling us that it needs to update?

You could use a resolution strategy to force the version to the declared one, thereby showing it in the up-to-date list which is usually ignored. Something like,

rejectVersionIf {
  return (it.candidate.group == 'org.jacoco') && (it.candidate.version != it.currentVersion)
}
1reaction
konstantin-rudoicommented, Nov 18, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Org.jacoco.ant.ReportTask cannot be found - Gradle Forums
I applied the Jacoco plugin and tried to generate the codeCoverage report. I used jacoco '0.6.2.201302030002' version and gave the required dependencies ......
Read more >
Gradle error: Could not resolve org.jacoco:org.jacoco.agent
It looks like some dependency needs org.jacoco:org.jacoco.agent:0.7.5.201505241946 as a dependency, but can't find it for some reason.
Read more >
org.jacoco.ant : 0.8.7 - Maven Central Repository Search
JaCoCo :: Ant ... Dependencies: org.apache.ant:ant · Apache Maven Resources | About Sonatype ...
Read more >
artifacts not resolved: org.jacoco:org.jacoco.build:jar:0.6 ...
correctly. I'm trying to implement jacoco coverage reports in a multi-project maven build and I am running into the following error when I...
Read more >
Untitled
4.0.0 org.jacoco org.jacoco.build 0.8.7 pom JaCoCo JaCoCo - Java Code Coverage ... definitions. true true No SNAPSHOT versions allowed for dependencies true ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found