Update project version
Update process resources, allow gradle to change plugin.yml's version
This commit is contained in:
parent
763024d27a
commit
7a3d9c468a
@ -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
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user