mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 22:15:45 +00:00
build(velocity): remove blossom usage
This commit is contained in:
6 files changed
+53
-44
No files matched your search
+3
-13
@@ -1,5 +1,3 @@
|
||||
import org.apache.tools.ant.filters.ReplaceTokens
|
||||
|
||||
plugins {
|
||||
id("carbon.shadow-platform")
|
||||
id("quiet-fabric-loom")
|
||||
@@ -63,21 +61,13 @@ tasks {
|
||||
relocateGuice()
|
||||
}
|
||||
processResources {
|
||||
val props = mapOf(
|
||||
"modId" to rootProject.name.toLowerCase(),
|
||||
replace("fabric.mod.json", mapOf(
|
||||
"modId" to rootProject.name.lowercase(),
|
||||
"name" to rootProject.name,
|
||||
"version" to project.version,
|
||||
"description" to project.description,
|
||||
"github_url" to GITHUB_REPO_URL
|
||||
)
|
||||
inputs.properties(props)
|
||||
filesMatching("fabric.mod.json") {
|
||||
filter<ReplaceTokens>(
|
||||
"beginToken" to "\${",
|
||||
"endToken" to "}",
|
||||
"tokens" to props
|
||||
)
|
||||
}
|
||||
))
|
||||
}
|
||||
|
||||
runServer {
|
||||
|
||||
Reference in new issue
Block a user