Update Paper plugin descriptor
This commit is contained in:
10
build.gradle
10
build.gradle
@@ -5,6 +5,7 @@ plugins {
|
||||
|
||||
group = 'com.majinnaibu.bukkitplugins'
|
||||
description = 'Metropolis'
|
||||
version = '0.5-SNAPSHOT'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@@ -33,6 +34,15 @@ tasks.withType(JavaCompile).configureEach {
|
||||
options.encoding = 'UTF-8'
|
||||
}
|
||||
|
||||
def pluginVersion = project.version.toString()
|
||||
|
||||
tasks.named('processResources') {
|
||||
inputs.property('version', pluginVersion)
|
||||
filesMatching('plugin.yml') {
|
||||
expand(version: pluginVersion)
|
||||
}
|
||||
}
|
||||
|
||||
tasks.named('wrapper') {
|
||||
gradleVersion = '9.8.0'
|
||||
distributionType = Wrapper.DistributionType.BIN
|
||||
|
||||
Reference in New Issue
Block a user