Skip to content

Commit 9635ff3

Browse files
committed
1.0.1
1 parent c5b32be commit 9635ff3

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

build.gradle.kts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
import org.apache.tools.ant.filters.ReplaceTokens
2+
13
plugins {
24
`java-library`
35
}
46

57
group = "dev.diona"
6-
version = "1.0.0"
8+
version = "1.0.1"
79

810
repositories {
911
maven("https://hub.spigotmc.org/nexus/content/groups/public/")
@@ -23,4 +25,8 @@ dependencies {
2325
tasks.withType<JavaCompile> {
2426
options.encoding = "UTF-8"
2527
targetCompatibility = JavaVersion.VERSION_17.toString()
28+
}
29+
30+
tasks.processResources {
31+
expand("version" to project.version)
2632
}

src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: ViaLegacyAPI
22
main: dev.diona.vialegacyapi.ViaLegacyAPI
33
authors: [ _MylesC, Loyisa ]
4-
version: 1.0.0
4+
version: ${version}
55
api-version: 1.13
66
depend: [ ViaVersion ]

0 commit comments

Comments
 (0)