mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 22:15:45 +00:00
remove redundant var
This commit is contained in:
1 file changed
+2
-4
+2
-4
@@ -10,13 +10,11 @@ description = "CarbonChat - A modern chat plugin"
|
|||||||
val projectVersion: String by project // get from gradle.properties
|
val projectVersion: String by project // get from gradle.properties
|
||||||
version = projectVersion
|
version = projectVersion
|
||||||
|
|
||||||
val projectVer = project.version as String
|
|
||||||
|
|
||||||
hangarPublish.publications.register("plugin") {
|
hangarPublish.publications.register("plugin") {
|
||||||
version.set(projectVer)
|
version.set(projectVersion)
|
||||||
owner.set("Vicarious")
|
owner.set("Vicarious")
|
||||||
slug.set("Carbon")
|
slug.set("Carbon")
|
||||||
channel.set(if (projectVer.contains("+beta.")) "Beta" else "Release")
|
channel.set(if (projectVersion.contains("+beta.")) "Beta" else "Release")
|
||||||
changelog.set(releaseNotes)
|
changelog.set(releaseNotes)
|
||||||
apiKey.set(providers.environmentVariable("HANGAR_UPLOAD_KEY"))
|
apiKey.set(providers.environmentVariable("HANGAR_UPLOAD_KEY"))
|
||||||
platforms.register(Platforms.PAPER) {
|
platforms.register(Platforms.PAPER) {
|
||||||
|
|||||||
Reference in new issue
Block a user