mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
fancyvisuals: update versioning and refactor version retrieval method
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
fancyvisualsVersion=0.0.1
|
|
||||||
fancylibVersion=36
|
fancylibVersion=36
|
||||||
fancysitulaVersion=0.0.13
|
fancysitulaVersion=0.0.13
|
||||||
jdbVersion=1.0.0
|
jdbVersion=1.0.0
|
||||||
|
|||||||
1
plugins/fancyvisuals/VERSION
Normal file
1
plugins/fancyvisuals/VERSION
Normal file
@@ -0,0 +1 @@
|
|||||||
|
0.0.1
|
||||||
@@ -12,7 +12,7 @@ runPaper.folia.registerTask()
|
|||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
group = "de.oliver"
|
group = "de.oliver"
|
||||||
version = findProperty("fancyvisualsVersion") as String
|
version = getFVVersion()
|
||||||
description = "Simple, lightweight and fast visual plugin using packets"
|
description = "Simple, lightweight and fast visual plugin using packets"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@@ -51,7 +51,7 @@ paper {
|
|||||||
bootstrapper = "de.oliver.fancyvisuals.loaders.FancyVisualsBootstrapper"
|
bootstrapper = "de.oliver.fancyvisuals.loaders.FancyVisualsBootstrapper"
|
||||||
loader = "de.oliver.fancyvisuals.loaders.FancyVisualsLoader"
|
loader = "de.oliver.fancyvisuals.loaders.FancyVisualsLoader"
|
||||||
foliaSupported = true
|
foliaSupported = true
|
||||||
version = findProperty("fancyvisualsVersion") as String
|
version = getFVVersion()
|
||||||
description = "Simple, lightweight and fast visuals plugin using packets"
|
description = "Simple, lightweight and fast visuals plugin using packets"
|
||||||
apiVersion = "1.19"
|
apiVersion = "1.19"
|
||||||
serverDependencies {
|
serverDependencies {
|
||||||
@@ -129,3 +129,7 @@ java {
|
|||||||
fun getCurrentCommitHash(): String {
|
fun getCurrentCommitHash(): String {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun getFVVersion(): String {
|
||||||
|
return file("VERSION").readText()
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user