Add plugin version placeholder and bump version

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/107/head
trivernis 3 years ago
parent b485bf9999
commit 930ae728d0
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -23,7 +23,7 @@ idea {
group "net.trivernis"
version "1.3.3"
version PLUGIN_VERSION
sourceCompatibility = 1.8
@ -73,6 +73,16 @@ jar {
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
processResources {
with copySpec {
from 'src/main/resources/'
include '**/*'
filter { String line ->
line.replace('PLUGIN_VERSION', PLUGIN_VERSION)
}
}
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"

@ -1 +1,2 @@
kotlin.code.style=official
kotlin.code.style=official
PLUGIN_VERSION=1.3.4

@ -1,6 +1,6 @@
main: net.trivernis.chunkmaster.Chunkmaster
name: Chunkmaster
version: '1.3.3'
version: PLUGIN_VERSION
description: Automated world pregeneration.
author: Trivernis
website: trivernis.net

Loading…
Cancel
Save