Skip to content
Permalink
Browse files

Improve logging, update to 5.5.1

  • Loading branch information...
kenzierocks committed Jul 14, 2019
1 parent 5277f99 commit 52a62b984ba5ce29c14bd0a90e9fb78ef4db553b
Showing with 4 additions and 4 deletions.
  1. +3 −3 build.gradle.kts
  2. +1 −1 gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
import org.ajoberstar.grgit.Grgit

println("""
logger.lifecycle("""
*******************************************
You are building WorldEdit!
@@ -19,9 +19,9 @@ applyRootArtifactoryConfig()
if (!project.hasProperty("gitCommitHash")) {
apply(plugin = "org.ajoberstar.grgit")
ext["gitCommitHash"] = try {
(ext["grgit"] as Grgit).head().abbreviatedId
(ext["grgit"] as Grgit?)?.head()?.abbreviatedId
} catch (e: Exception) {
println("Error getting commit hash: " + e.message)
logger.warn("Error getting commit hash", e)

"no_git_id"
}
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 52a62b9

Please sign in to comment.
You can’t perform that action at this time.