Update project version

Update process resources, allow gradle to change plugin.yml's version
This commit is contained in:
NavidK0 2016-03-21 19:07:21 -04:00
parent 763024d27a
commit 7a3d9c468a
2 changed files with 6 additions and 2 deletions

View File

@ -9,7 +9,7 @@ println 'Compiling LibsDisguises via Gradle ver. ' + gradle.gradleVersion
sourceCompatibility = '1.7'
ext.spigotVersion = '1.9-R0.1-SNAPSHOT'
ext.disguisesVersion = '9.0'
ext.disguisesVersion = '9.0.2'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
@ -49,6 +49,10 @@ jar {
baseName "LibsDisguises"
}
processResources {
expand projectVersion: disguisesVersion
}
artifacts {
archives sourceJar
archives javadocJar

View File

@ -1,7 +1,7 @@
name: LibsDisguises
main: me.libraryaddict.disguise.LibsDisguises
description: A disguise plugin with various disguises.
version: 9.0.2
version: ${projectVersion}
author: libraryaddict
authors: [Byteflux, Navid K.]
softdepend: [ProtocolLib]