Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to build using Gradle #2

Open
ConnorHollowayXerini opened this issue Apr 25, 2024 · 0 comments
Open

Failure to build using Gradle #2

ConnorHollowayXerini opened this issue Apr 25, 2024 · 0 comments

Comments

@ConnorHollowayXerini
Copy link

When adding the Onfleet dependency to a Gradle project the project fails to build with the following error:

Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find org.apache.maven.reporting:maven-reporting-api:${project.prerequisites.maven}.
     Required by:
         project : > com.onfleet:java-api-wrapper:1.0.0 > org.jacoco:jacoco-maven-plugin:0.8.11

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

This can be reproduced with a new Gradle project with no other configuration or dependencies.
A similar Maven project builds without any issues, with the dependency resolving to org.apache.maven.reporting:maven-reporting-api:3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant