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

Gralde RunShadow failed on 4.3 above #554

Open
wang2nd opened this issue Mar 16, 2020 · 1 comment
Open

Gralde RunShadow failed on 4.3 above #554

wang2nd opened this issue Mar 16, 2020 · 1 comment

Comments

@wang2nd
Copy link

wang2nd commented Mar 16, 2020

The build works find with Gradle 4.2 and plug version 2.0.1 and above
But failed with Gradle 4.3 and above.

Shadow Version

2.0.3, 2.0.4, 4.0.2, 5.

Gradle Version

4.3.1, 4.9

Expected Behavior

build succesfully

Actual Behavior

The same failure happens like the closed bug #339

Did the fix reverted or reintroduced?

Gradle Build Script(s)

Task :Identity-Admin-Web:shadowJar
The SimpleWorkResult type has been deprecated and is scheduled to be removed in Gradle 5.0. Please use WorkResults.didWork() instead.

Task :Identity-Admin-Web:startShadowScripts
Using TaskInputs.file() with something that doesn't resolve to a File object has been deprecated and is scheduled to be removed in Gradle 5.0. Use TaskInputs.files() instead.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':Identity-Admin-Web:installShadowDist'.

The specified installation directory '/Users/swang/codes/id/identity-admin/Identity-Admin-Web/build/install/Identity-Admin-Web-shadow' is neither empty nor does it contain an installation for 'Identity-Admin-Web'.
If you really want to install to this directory, delete it and run the install task again.
Alternatively, choose a different installation directory.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org

@johnrengelman
Copy link
Collaborator

Please upgrade to the latest Gradle and Shadow versions. I don’t investigate issues with legacy versions.

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

2 participants