File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,7 +117,11 @@ tasks {
117117 }
118118 withType<ProcessResources >().configureEach {
119119 exclude(" META-INF" )
120- expand(" version" to loaderVersion)
120+ filter<ReplaceTokens >(
121+ " tokens" to mapOf (
122+ " version" to loaderVersion
123+ )
124+ )
121125 }
122126 val buildPlugin by registering(com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar ::class ) {
123127 group = " plugin"
Original file line number Diff line number Diff line change 11name : ScriptAgent
22main : cf.wayzer.scriptAgent.bukkit.Main
3- version : " ${ version} "
3+ version : " @ version@ "
44author : Way__Zer
55api-version : 1.21
66folia-supported : true
Original file line number Diff line number Diff line change 33 "author" : " WayZer" ,
44 "main" : " cf.wayzer.scriptAgent.mindustry.Loader" ,
55 "description" : " More commands and features." ,
6- "version" : " ${ version} " ,
6+ "version" : " @ version@ " ,
77 "minGameVersion" : 147
88}
You can’t perform that action at this time.
0 commit comments