2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2025-04-19 09:07:06 +00:00

use blossom for versioning in velocity plugin

This commit is contained in:
mohammed jasem alaajel 2023-03-22 18:10:09 +04:00
parent 21354d959f
commit 773adc8e23
No known key found for this signature in database
2 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,7 @@ plugins {
`maven-publish`
id("com.github.johnrengelman.shadow") version "8.1.1"
id("xyz.jpenilla.run-velocity") version "2.0.0"
id("net.kyori.blossom") version "1.2.0"
}
dependencies {
@ -23,6 +24,10 @@ java {
withSourcesJar()
}
blossom {
replaceToken("@version@", "$version")
}
tasks {
withType<Javadoc> {

View File

@ -57,7 +57,7 @@ import java.util.*;
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicInteger;
@Plugin(id = "redisbungee", name = "RedisBungee", version = "0.10.2", url = "https://github.com/ProxioDev/RedisBungee", authors = {"astei", "ProxioDev"})
@Plugin(id = "redisbungee", name = "RedisBungee", version = "@version@", url = "https://github.com/ProxioDev/RedisBungee", authors = {"astei", "ProxioDev"})
public class RedisBungeeVelocityPlugin implements RedisBungeePlugin<Player>, ConfigLoader {
private final ProxyServer server;
private final Logger logger;