publish(hangar): Added Velocity Platform publish

This commit is contained in:
Adrian committed 2023-04-13 20:58:20 -05:00
1 parent 0ad5b1d66c
commit 4ae338fb71
1 file changed
+13
+13
View File
@@ -31,6 +31,19 @@ hangarPublish.publications.register("plugin") {
url("PlaceholderAPI", "https://www.spigotmc.org/resources/placeholderapi.6245/") {
required.set(false)
}
hangar("MiniPlaceholders", "MiniPlaceholders/MiniPlaceholders") {
required.set(false)
}
}
}
platforms.register(Platforms.VELOCITY) {
jar.set(project(":carbonchat-velocity").the<CarbonPlatformExtension>().jarTask.flatMap { it.archiveFile })
platformVersions.add("3.2")
dependencies {
url("LuckPerms", "https://luckperms.net/")
hangar("MiniPlaceholders", "MiniPlaceholders/MiniPlaceholders") {
required.set(false)
}
}
}
}