mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
fancyholograms: update versioning and refactor version retrieval method
This commit is contained in:
@@ -48,7 +48,7 @@ tasks {
|
||||
create<MavenPublication>("maven") {
|
||||
groupId = "de.oliver"
|
||||
artifactId = "FancyHolograms"
|
||||
version = findProperty("fancyhologramsVersion") as String
|
||||
version = getFHVersion()
|
||||
from(project.components["java"])
|
||||
}
|
||||
}
|
||||
@@ -68,4 +68,8 @@ tasks {
|
||||
|
||||
options.release.set(17)
|
||||
}
|
||||
}
|
||||
|
||||
fun getFHVersion(): String {
|
||||
return file("../VERSION").readText()
|
||||
}
|
||||
Reference in New Issue
Block a user