mirror of
https://github.com/corda/corda.git
synced 2024-12-19 21:17:58 +00:00
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:
parent
ab08ce21f4
commit
ae7e8a29c7
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user