Skip to content

Gradle example fails on linux #331

@dsyer

Description

@dsyer

The example from the README fails like this for me:

...
> Task :generateProto FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':generateProto'.
> Could not resolve all files for configuration ':protobufToolsLocator_reactor'.
   > Could not find reactor-grpc-1.2.4-linux-x86_64.exe (com.salesforce.servicelibs:reactor-grpc:1.2.4).
     Searched in the following locations:
         file:/home/dsyer/.m2/repository/com/salesforce/servicelibs/reactor-grpc/1.2.4/reactor-grpc-1.2.4-linux-x86_64.exe
...

I can see that .exe file in Maven Central. It works with Maven.

UPDATE: (hopefully useful for others in the same pickle, including future me) it works for me if you put mavenLocal() after mavenCentral() in the repositories declaration. So someone, somewhere is not taking into account all the repositories.

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