From 1fe197df98517d8ea825008e602f59c34fc694bc Mon Sep 17 00:00:00 2001 From: wizjany Date: Sat, 16 Jan 2016 23:42:21 -0500 Subject: [PATCH] Fix build script versioning, release a 1.8.9 build. --- build.gradle | 2 +- worldedit-forge/build.gradle | 3 +++ worldedit-forge/src/main/resources/mcmod.info | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index be685f667..fbe0f78ad 100644 --- a/build.gradle +++ b/build.gradle @@ -38,7 +38,7 @@ if (!project.hasProperty("artifactory_password")) ext.artifactory_password = "" if (!project.hasProperty("gitCommitHash")) { try { - def repo = Grgit.open(project.file('.')) + def repo = org.ajoberstar.grgit.Grgit.open(project.file('.')) ext.gitCommitHash = repo.head().abbreviatedId } catch (Exception e) { ext.gitCommitHash = "no_git_id" diff --git a/worldedit-forge/build.gradle b/worldedit-forge/build.gradle index a6aa0eaf8..2873f5608 100644 --- a/worldedit-forge/build.gradle +++ b/worldedit-forge/build.gradle @@ -26,7 +26,10 @@ repositories { } } +version = "6.1.1" ext.forgeVersion = "11.15.0.1695" +ext.internalVersion = version + ";" + gitCommitHash + minecraft { version = "1.8.9-${project.forgeVersion}" mappings = "snapshot_20160111" diff --git a/worldedit-forge/src/main/resources/mcmod.info b/worldedit-forge/src/main/resources/mcmod.info index df47ddfac..b21a45185 100644 --- a/worldedit-forge/src/main/resources/mcmod.info +++ b/worldedit-forge/src/main/resources/mcmod.info @@ -6,7 +6,7 @@ "mcversion": "${mcVersion}", "url": "http://wiki.sk89q.com/wiki/WorldEdit", "updateUrl": "", - "authors": [ "sk89q", "wizjany", "TomyLobo" ], + "authors": [ "sk89q", "wizjany", "TomyLobo", "kenzierocks" ], "credits": "", "logoFile": "", "screenshots": [],