Don't use grgit to enable git worktree (#3573)

We might also include a check if the current repo is clean, e.g.
by running `git diff --exit-code` and checking the return value.
This commit is contained in:
Thomas Schroeter 2018-07-12 16:20:37 +01:00 committed by GitHub
parent ab08ce21f4
commit ae7e8a29c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,6 @@ buildscript {
classpath 'com.github.ben-manes:gradle-versions-plugin:0.15.0'
classpath "org.jetbrains.kotlin:kotlin-noarg:$kotlin_version"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:${dokka_version}"
classpath "org.ajoberstar:grgit:1.1.0"
classpath "net.i2p.crypto:eddsa:$eddsa_version" // Needed for ServiceIdentityGenerator in the build environment.
classpath "org.owasp:dependency-check-gradle:${dependency_checker_version}"
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:$artifactory_plugin_version"
@ -117,7 +116,7 @@ plugins {
}
ext {
corda_revision = org.ajoberstar.grgit.Grgit.open(file('.')).head().id
corda_revision = "git rev-parse HEAD".execute().text.trim()
}
apply plugin: 'project-report'