mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2026-06-19 09:27:52 +00:00
move version into the api
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
plugins {
|
||||
`java-library`
|
||||
`maven-publish`
|
||||
id("net.kyori.blossom") version "1.2.0"
|
||||
}
|
||||
|
||||
repositories {
|
||||
@@ -25,6 +26,12 @@ dependencies {
|
||||
|
||||
description = "RedisBungee interafaces"
|
||||
|
||||
blossom {
|
||||
replaceToken("@version@", "$version")
|
||||
// replaceToken("@git_branch@", "")
|
||||
// replaceToken("@git_commit@", "")
|
||||
}
|
||||
|
||||
java {
|
||||
withJavadocJar()
|
||||
withSourcesJar()
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.imaginarycode.minecraft.redisbungee;
|
||||
|
||||
public class Constants {
|
||||
|
||||
public final static String VERSION = "@version@";
|
||||
|
||||
// public final static String GIT_BRANCH = "@git_branch@";
|
||||
|
||||
// public final static String GIT_COMMIT = "@git_commit@";
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user