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'
|
sourceCompatibility = '1.7'
|
||||||
ext.spigotVersion = '1.9-R0.1-SNAPSHOT'
|
ext.spigotVersion = '1.9-R0.1-SNAPSHOT'
|
||||||
|
|
||||||
ext.disguisesVersion = '9.0'
|
ext.disguisesVersion = '9.0.2'
|
||||||
|
|
||||||
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
||||||
|
|
||||||
@ -49,6 +49,10 @@ jar {
|
|||||||
baseName "LibsDisguises"
|
baseName "LibsDisguises"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
processResources {
|
||||||
|
expand projectVersion: disguisesVersion
|
||||||
|
}
|
||||||
|
|
||||||
artifacts {
|
artifacts {
|
||||||
archives sourceJar
|
archives sourceJar
|
||||||
archives javadocJar
|
archives javadocJar
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
name: LibsDisguises
|
name: LibsDisguises
|
||||||
main: me.libraryaddict.disguise.LibsDisguises
|
main: me.libraryaddict.disguise.LibsDisguises
|
||||||
description: A disguise plugin with various disguises.
|
description: A disguise plugin with various disguises.
|
||||||
version: 9.0.2
|
version: ${projectVersion}
|
||||||
author: libraryaddict
|
author: libraryaddict
|
||||||
authors: [Byteflux, Navid K.]
|
authors: [Byteflux, Navid K.]
|
||||||
softdepend: [ProtocolLib]
|
softdepend: [ProtocolLib]
|
||||||
|
Loading…
Reference in New Issue
Block a user