Skip to content

Fails to create JAR with Gradle api dependencies #424

@mjpt777

Description

@mjpt777

I get the following failure when trying to build Gradle api dependencies with 'java-library'.

> Task :sbe-all:shadowJar FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sbe-all:shadowJar'.
> path may not be null or empty string. path='null'

Shadow Version

4.0.2.

Gradle Version

4.10.1.

Expected Behavior

Successfully create a JAR with shaded api dependencies.

Actual Behavior

Build fails.

Gradle Build Script(s)

Apply the attached patch to the following file and build.

https://github.com/real-logic/simple-binary-encoding/blob/master/build.gradle

java-library.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions