-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Plugin [id: 'com.diffplug.spotless', version: '5.9.0'] was not found #7086
Comments
The plugin is definitely listed in Gradle's plugin system (https://plugins.gradle.org/plugin/com.diffplug.spotless/5.9.0). Can you access any Gradle plugins? In any case, spotless is only required for code formatting on commits, so you can just remove all references to it from the |
thank u! Your advise do make sense ! I remove all references and it works. |
@Craigacp by the way, here comes a new FAILURE, it seems like cannot connect resources, but i do can curl it successfully: `6/7 Test #6: onnxruntime_api_tests_without_env ...... Passed 0.00 sec 7: Test command: /opt/gradle/gradle-6.1.1/bin/gradle "cmakeCheck" "-DcmakeBuildDir=/home/zys/onnxruntime/build/Linux/Release" 7: > Task :compileTestJava 86% tests passed, 1 tests failed out of 7 Total Test time (real) = 116.36 sec The following tests FAILED: |
So by that point it's already built the onnxruntime jar file. However it looks like gradle doesn't know how to talk to the internet, which it needs to pull in a few jars to run the tests. So presumably you could fix this by appropriately configuring gradle's proxy settings. This would presumably fix the spotless plugin issue as well. |
Sincere thanks! |
Describe the bug
When i want to build a .jar(cpu version), it turns out to be a failure:
[ 57%] Built target onnxruntime_framework
<-------------> 0% CONFIGURING [148ms]
FAILURE: Build failed with an exception.
Where:
Build file '/home/xxx/onnxruntime/java/build.gradle' line: 6
What went wrong:
Plugin [id: 'com.diffplug.spotless', version: '5.9.0'] was not found in any of the following sources:
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
Urgency
I hope this issue will be dealed as soon as possiable. Deadline: 2021/03/23.
System information
To Reproduce
./build.sh --config Release --build_shared_lib --build_java --parallel
Expected behavior
It supposed to be compiled sucessfully.
Screenshots
Additional context
I have tried newest version of gradle, or close off http proxy, and still failed as same failure info described as bellow.
The text was updated successfully, but these errors were encountered: