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.
When adding the Onfleet dependency to a Gradle project the project fails to build with the following error:
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.