Gradle build wrong


(sunwen) #1

Could not resolve all artifacts for configuration ‘:classpath’.

Could not resolve org.eclipse.jgit:org.eclipse.jgit:[4.8.0.201706111038-r,).
Required by:
project : > org.ajoberstar:grgit:2.1.0
Could not resolve org.eclipse.jgit:org.eclipse.jgit:5.0.0.201806131550-r.
Could not parse POM https://plugins.gradle.org/m2/org/eclipse/jgit/org.eclipse.jgit/5.0.0.201806131550-r/org.eclipse.jgit-5.0.0.201806131550-r.pom
Could not find org.eclipse.jgit:org.eclipse.jgit-parent:5.0.0.201806131550-r.
Searched in the following locations:
https://plugins.gradle.org/m2/org/eclipse/jgit/org.eclipse.jgit-parent/5.0.0.201806131550-r/org.eclipse.jgit-parent-5.0.0.201806131550-r.pom
https://plugins.gradle.org/m2/org/eclipse/jgit/org.eclipse.jgit-parent/5.0.0.201806131550-r/org.eclipse.jgit-parent-5.0.0.201806131550-r.jar
Could not resolve org.eclipse.jgit:org.eclipse.jgit.ui:[4.8.0.201706111038-r,).
Required by:
project : > org.ajoberstar:grgit:2.1.0
Could not resolve org.eclipse.jgit:org.eclipse.jgit.ui:5.0.0.201806131550-r.
Could not parse POM https://plugins.gradle.org/m2/org/eclipse/jgit/org.eclipse.jgit.ui/5.0.0.201806131550-r/org.eclipse.jgit.ui-5.0.0.201806131550-r.pom
Could not find org.eclipse.jgit:org.eclipse.jgit-parent:5.0.0.201806131550-r.

  • 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 5s

anyone tell me how to resolve it