misc: Updated Blossom plugin usage
This commit is contained in:
parent
83c63503c4
commit
7371b217d7
@ -17,12 +17,16 @@ dependencies {
|
|||||||
testImplementation(libs.assertj)
|
testImplementation(libs.assertj)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sourceSets {
|
||||||
|
main {
|
||||||
blossom {
|
blossom {
|
||||||
replaceTokenIn("src/main/java/io/github/_4drian3d/authmevelocity/common/Constants.java")
|
javaSources {
|
||||||
replaceToken("{version}", project.version)
|
property("version", project.version.toString())
|
||||||
replaceToken("{description}", project.description)
|
property("configurate", libs.versions.configurate.get())
|
||||||
replaceToken("{configurate}", libs.versions.configurate.get())
|
property("geantyref", libs.versions.geantyref.get())
|
||||||
replaceToken("{geantyref}", libs.versions.geantyref.get())
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
|
@ -20,8 +20,7 @@ package io.github._4drian3d.authmevelocity.common;
|
|||||||
public final class Constants {
|
public final class Constants {
|
||||||
private Constants() {}
|
private Constants() {}
|
||||||
|
|
||||||
public static final String VERSION = "{version}";
|
public static final String VERSION = "{{ version }}";
|
||||||
public static final String DESCRIPTION = "{description}";
|
public static final String CONFIGURATE = "{{ configurate }}";
|
||||||
public static final String CONFIGURATE = "{configurate}";
|
public static final String GEANTYREF = "{{ geantyref }}";
|
||||||
public static final String GEANTYREF = "{geantyref}";
|
|
||||||
}
|
}
|
@ -13,7 +13,7 @@ bstats = "3.0.2"
|
|||||||
shadow = "8.1.1"
|
shadow = "8.1.1"
|
||||||
configurate = "4.1.2"
|
configurate = "4.1.2"
|
||||||
adventure = "4.14.0"
|
adventure = "4.14.0"
|
||||||
blossom = "1.3.1"
|
blossom = "2.0.1"
|
||||||
geantyref = "1.3.13"
|
geantyref = "1.3.13"
|
||||||
indra = "3.1.2"
|
indra = "3.1.2"
|
||||||
runtask = "2.1.0"
|
runtask = "2.1.0"
|
||||||
|
@ -70,7 +70,7 @@ import java.util.stream.Stream;
|
|||||||
id = "authmevelocity",
|
id = "authmevelocity",
|
||||||
name = "AuthMeVelocity",
|
name = "AuthMeVelocity",
|
||||||
url = "https://modrinth.com/plugin/authmevelocity",
|
url = "https://modrinth.com/plugin/authmevelocity",
|
||||||
description = Constants.DESCRIPTION,
|
description = "AuthMeReloaded Support for Velocity",
|
||||||
version = Constants.VERSION,
|
version = Constants.VERSION,
|
||||||
authors = {"xQuickGlare", "4drian3d"},
|
authors = {"xQuickGlare", "4drian3d"},
|
||||||
dependencies = {
|
dependencies = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user