Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-24 01:50:06 +01:00
Fix versions in toml. Use internalversion (with git hash).
Dieser Commit ist enthalten in:
Ursprung
1c5d3368a0
Commit
4f0506ec8b
@ -56,21 +56,20 @@ project.archivesBaseName = "${project.archivesBaseName}-mc${minecraftVersion}"
|
||||
|
||||
processResources {
|
||||
// this will ensure that this task is redone when the versions change.
|
||||
inputs.property 'version', project.version
|
||||
inputs.property 'mcversion', minecraftVersion
|
||||
inputs.property 'internalVersion', internalVersion
|
||||
inputs.property 'version', project.internalVersion
|
||||
inputs.property 'forgeVersion', forgeVersion
|
||||
|
||||
// replace stuff in mcmod.info, nothing else
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
include 'META_INF/mods.toml'
|
||||
include 'META-INF/mods.toml'
|
||||
|
||||
// replace version and mcversion
|
||||
expand 'version':project.version, 'mcversion': minecraftVersion, 'internalVersion': internalVersion
|
||||
expand 'version': project.internalVersion, 'forgeVersion': forgeVersion
|
||||
}
|
||||
|
||||
// copy everything else except the mcmod.info
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude 'META_INF/mods.toml'
|
||||
exclude 'META-INF/mods.toml'
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@ modLoader="javafml"
|
||||
# A version range to match for said mod loader - for regular FML @Mod it will be the minecraft version (without the 1.)
|
||||
loaderVersion="[24,)"
|
||||
# A URL to refer people to when problems occur with this mod
|
||||
issueTrackerURL="https://discord.gg/YKbmj7V"
|
||||
issueTrackerURL="https://discord.gg/enginehub"
|
||||
# A URL for the "homepage" for this mod, displayed in the mod UI
|
||||
displayURL="http://wiki.sk89q.com/wiki/WorldEdit/"
|
||||
# A file name (in the root of the mod JAR) containing a logo for display
|
||||
@ -25,7 +25,7 @@ WorldEdit is an easy-to-use in-game world editor for Minecraft, supporting both
|
||||
[[dependencies.worldedit]]
|
||||
modId="forge"
|
||||
mandatory=true
|
||||
versionRange="[${forge_version},)"
|
||||
versionRange="[${forgeVersion},)"
|
||||
ordering="NONE"
|
||||
side="BOTH"
|
||||
[[dependencies.worldedit]]
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren