Closed hexiangheng closed 5 years ago
Hm. Your version of Gradle might not match -- can you please use the Gradle wrapper? Like:
./gradlew build
This ensures that you use the version of Gradle expected by the project.
I noticed that the README does not refer to the Gradle wrapper; I will update it.
Thank you,that's fine
Okay, it sounds like your issue is fixed so I'm going to close this out. Please feel free to re-open if you're still experiencing an issue.
Failure to compile with release dynamometer-0.1.0 package。
root@hadoop:/home/hxh/hadoop/dynamometer-0.1.0# gradle build
Parallel execution with configuration on demand is an incubating feature.
FAILURE: Build failed with an exception.
Where: Build file '/home/hxh/hadoop/dynamometer-0.1.0/build.gradle' line: 18
What went wrong: Plugin [id: 'org.shipkit.java', version: '2.1.3'] was not found in any of the following sources:
Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
Plugin Repositories (could not resolve plugin artifact 'org.shipkit.java:org.shipkit.java.gradle.plugin:2.1 .3') Searched in the following repositories: Gradle Central Plugin Repository
Try: 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 32s