From 8f9ba1daa14328388144b9040991bc2acfb7a1c9 Mon Sep 17 00:00:00 2001 From: rutgerkok Date: Thu, 21 Aug 2014 10:23:40 +0200 Subject: [PATCH] Back at version 2.6.2 for upload to BukkitDev Also fixed Gradle keeping an old version in the plugin.yml. --- build.gradle | 2 +- platforms/bukkit/build.gradle | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index ee36e26c6..4845c94f0 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ defaultTasks 'removeOldReleases', 'build', 'shadowJar', 'createReleaseJar', 'ins allprojects { - version = "2.7.0-SNAPSHOT" + version = "2.6.2" group = "com.khorn.terraincontrol" // Give this a value in a child project to change the name in your IDE diff --git a/platforms/bukkit/build.gradle b/platforms/bukkit/build.gradle index b55b6dbd1..caca11d3a 100644 --- a/platforms/bukkit/build.gradle +++ b/platforms/bukkit/build.gradle @@ -44,6 +44,9 @@ dependencies // Replace text in plugin.yml processResources { + // This will ensure that this task is redone when the versions change. + inputs.property "version", project.version + // Replace stuff in plugin.yml, nothing else from(sourceSets.main.resources.srcDirs) { include 'plugin.yml'