gradle-git-version icon indicating copy to clipboard operation
gradle-git-version copied to clipboard

Can't use version 0.11.0

Open DevasiaThomas opened this issue 6 years ago • 0 comments

When using the instructions on provided on gradle shown below:

buildscript {
    repositories {
        maven {
            url 'https://plugins.gradle.org/m2/'
        }
    }
    dependencies {
        classpath 'gradle.plugin.com.palantir.gradle.gitversion:gradle-git-version:0.11.0'
    }
}
apply plugin: 'com.palantir.git-version'

It throws the following error:

> Could not resolve all dependencies for configuration ':classpath'.
   > Could not resolve org.eclipse.jgit:org.eclipse.jgit:4.5.2.201704071617-r.
     Required by:
         :TheFacade:unspecified > gradle.plugin.com.palantir.gradle.gitversion:gradle-git-version:0.11.0
      > Could not resolve org.eclipse.jgit:org.eclipse.jgit:4.5.2.201704071617-r.
         > Could not get resource 'https://plugins.gradle.org/m2/org/eclipse/jgit/org.eclipse.jgit/4.5.2.201704071617-r/org.eclipse.jgit-4.5.2.201704071617-r.pom'.
            > Could not GET 'https://plugins.gradle.org/m2/org/eclipse/jgit/org.eclipse.jgit/4.5.2.201704071617-r/org.eclipse.jgit-4.5.2.201704071617-r.pom'.
               > Remote host closed connection during handshake

DevasiaThomas avatar Oct 16 '18 15:10 DevasiaThomas