Skip to content
This repository was archived by the owner on Jun 25, 2026. It is now read-only.
This repository was archived by the owner on Jun 25, 2026. It is now read-only.

Failure to build using Gradle #2

Description

@ConnorHollowayXerini

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions