fix: Update Blossom usage
This commit is contained in:
6 files changed
+23
-17
No files matched your search
@@ -5,15 +5,14 @@
|
||||

|
||||

|
||||
|
||||
MiniMessage Component-based Placeholders for PaperMC, Folia, Fabric, Sponge, Krypton and Velocity platforms
|
||||
MiniMessage Component-based Placeholders for Paper, Fabric, Sponge, Folia and Velocity platforms
|
||||
|
||||
## Compatibility
|
||||
- Paper 1.19.3, 1.19.4+
|
||||
- Folia 1.19.4
|
||||
- Folia 1.19.4+
|
||||
- Velocity 3.1.2+
|
||||
- Fabric 1.19.4+
|
||||
- Sponge API 8, 9, 10
|
||||
- Krypton
|
||||
- Sponge API 8+
|
||||
|
||||
## Commands
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
plugins {
|
||||
id("miniplaceholders.auto.module")
|
||||
alias(libs.plugins.idea.ext)
|
||||
alias(libs.plugins.blossom)
|
||||
}
|
||||
|
||||
@@ -16,7 +17,12 @@ dependencies {
|
||||
compileOnly(libs.adventure.minimesssage)
|
||||
}
|
||||
|
||||
blossom {
|
||||
replaceToken("{version}", project.version)
|
||||
replaceTokenIn("src/main/java/io/github/miniplaceholders/common/PluginConstants.java")
|
||||
sourceSets {
|
||||
main {
|
||||
blossom {
|
||||
javaSources {
|
||||
property("version", project.version.toString())
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package io.github.miniplaceholders.common;
|
||||
|
||||
public final class PluginConstants {
|
||||
public static final String VERSION = "{{ version }}";
|
||||
|
||||
private PluginConstants() {}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
package io.github.miniplaceholders.common;
|
||||
|
||||
public final class PluginConstants {
|
||||
public static final String VERSION = "{version}";
|
||||
|
||||
private PluginConstants(){}
|
||||
}
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
group = io.github.miniplaceholders
|
||||
version = 2.2.1
|
||||
description = MiniMessage Component-based Placeholders for Paper, Folia, Fabric, Sponge, velocity and Krypton platforms
|
||||
version = 2.2.2-SNAPSHOT
|
||||
description = MiniMessage Component-based Placeholders for Paper, Fabric, Sponge, Folia and Velocity platforms
|
||||
|
||||
org.gradle.jvmargs=-Xmx2G
|
||||
@@ -10,7 +10,7 @@ minecraft = "1.20.1"
|
||||
runtask = "2.2.0"
|
||||
pluginyml = "0.6.0"
|
||||
userdev = "1.5.9"
|
||||
blossom = "1.3.1"
|
||||
blossom = "2.1.0"
|
||||
indra = "3.1.3"
|
||||
shadow = "8.1.1"
|
||||
jmh = "0.7.2"
|
||||
@@ -76,3 +76,4 @@ blossom = { id = "net.kyori.blossom", version.ref = "blossom" }
|
||||
shadow = { id = "com.github.johnrengelman.shadow", version.ref = "shadow" }
|
||||
jmh = { id = "me.champeau.jmh", version.ref = "jmh" }
|
||||
dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" }
|
||||
idea-ext = { id = "org.jetbrains.gradle.plugin.idea-ext", version = "1.1.7" }
|
||||
Reference in new issue
Block a user