2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2025-04-20 01:27:07 +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` `maven-publish`
id("com.github.johnrengelman.shadow") version "8.1.1" id("com.github.johnrengelman.shadow") version "8.1.1"
id("xyz.jpenilla.run-velocity") version "2.0.0" id("xyz.jpenilla.run-velocity") version "2.0.0"
id("net.kyori.blossom") version "1.2.0"
} }
dependencies { dependencies {
@ -23,6 +24,10 @@ java {
withSourcesJar() withSourcesJar()
} }
blossom {
replaceToken("@version@", "$version")
}
tasks { tasks {
withType<Javadoc> { withType<Javadoc> {

View File

@ -57,7 +57,7 @@ import java.util.*;
import java.util.concurrent.*; import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicInteger; 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 { public class RedisBungeeVelocityPlugin implements RedisBungeePlugin<Player>, ConfigLoader {
private final ProxyServer server; private final ProxyServer server;
private final Logger logger; private final Logger logger;