fix: Updated blossom usage
This commit is contained in:
3 files changed
+14
-6
No files matched your search
@@ -3,9 +3,9 @@ metadata.format.version = "1.1"
|
||||
[versions]
|
||||
|
||||
velocity = "3.2.0-SNAPSHOT"
|
||||
paper = "1.19.3-R0.1-SNAPSHOT"
|
||||
paper = "1.20.2-R0.1-SNAPSHOT"
|
||||
|
||||
blossom = "1.3.1"
|
||||
blossom = "2.1.0"
|
||||
shadow = "8.1.1"
|
||||
runtask = "2.1.0"
|
||||
pluginyml = "0.6.0"
|
||||
@@ -42,3 +42,4 @@ shadow = { id = "com.github.johnrengelman.shadow", version.ref = "shadow" }
|
||||
runvelocity = { id = "xyz.jpenilla.run-velocity", version.ref = "runtask" }
|
||||
runpaper = { id = "xyz.jpenilla.run-velocity", version.ref = "runtask" }
|
||||
pluginyml = { id = "net.minecrell.plugin-yml.bukkit", version.ref = "pluginyml" }
|
||||
idea-ext = { id = "org.jetbrains.gradle.plugin.idea-ext", version = "1.1.7" }
|
||||
@@ -1,4 +1,5 @@
|
||||
plugins {
|
||||
alias(libs.plugins.idea.ext)
|
||||
alias(libs.plugins.blossom)
|
||||
}
|
||||
|
||||
@@ -10,7 +11,12 @@ dependencies {
|
||||
implementation(projects.luckpermsExpansionCommon)
|
||||
}
|
||||
|
||||
blossom {
|
||||
replaceTokenIn("src/main/java/io/github/miniplaceholders/expansion/luckperms/velocity/Constants.java")
|
||||
replaceToken("{version}", project.version)
|
||||
sourceSets {
|
||||
main {
|
||||
blossom {
|
||||
javaSources {
|
||||
property("version", project.version.toString())
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
package io.github.miniplaceholders.expansion.luckperms.velocity;
|
||||
|
||||
public class Constants {
|
||||
static final String VERSION = "{version}";
|
||||
private Constants() {}
|
||||
static final String VERSION = "{{ version }}";
|
||||
}
|
||||
Reference in new issue
Block a user