在根项目“ papercontract”中找不到任务“ shadowJar”

时间:2020-08-24 08:58:00

标签: gradle

在digibank中安装链码时出现错误。 对等生命周期链代码安装cp.tar.gz

商业文件(java)

Welcome to Gradle 5.6.2!

Here are the highlights of this release:
 - Incremental Groovy compilation
 - Groovy compile avoidance
 - Test fixtures for Java projects
 - Manage plugin versions via settings script

For more details see https://docs.gradle.org/5.6.2/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
Task 'shadowJar' not found in root project 'papercontract'.

* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

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

BUILD FAILED in 2m 7s

1 个答案:

答案 0 :(得分:0)

万一其他人遇到此问题,请将shadow-build.gradle重命名为build.gradle,然后再次尝试打包并安装命令。