Update mdk with some tweaks for building

This commit is contained in:
cpw 2019-01-05 00:14:07 -05:00
parent 05761cb243
commit 169d4ce67b
2 changed files with 7 additions and 6 deletions

View file

@ -64,7 +64,8 @@ minecraft {
dependencies {
// Specify the version of Minecraft to use, If this is any group other then 'net.minecraft' it is assumed
// that the dep is a ForgeGradle 'patcher' dependency. And it's patches will be applied.
minecraft '@FORGE_GROUP@:@FORGE_NAME@:@FORGE_VERSION@'
// The userdev artifact is a special name and will get all sorts of transformations applied to it.
minecraft '@FORGE_GROUP@:userdev:@FORGE_VERSION@'
// you may put jars on which you depend on in ./libs
// or you may define them like so..
@ -102,7 +103,7 @@ processResources {
expand 'version':project.version, 'mcversion': '@MC_VERSION@'
}
// copy everything else except the mcmod.info
// copy everything else except the mods.toml
from(sourceSets.main.resources.srcDirs) {
exclude 'META_INF/mods.toml'
}

View file

@ -5,8 +5,8 @@
# Find more information on toml format here: https://github.com/toml-lang/toml
# The name of the mod loader type to load - for regular FML @Mod mods it should be javafml
modLoader="javafml" #mandatory
# A version range to match for said mod loader - for regular FML @Mod it will be the minecraft version (without the 1.)
loaderVersion="[13,)" #mandatory
# A version range to match for said mod loader - for regular FML @Mod it will be the forge version
loaderVersion="[24,)" #mandatory (24 is current forge version)
# A URL to query for updates for this mod. See the JSON update specification <here>
updateJSONURL="http://myurl.me/" #optional
# A URL to refer people to when problems occur with this mod
@ -43,7 +43,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mollis lacinia magn
# Does this dependency have to exist - if not, ordering below must be specified
mandatory=true #mandatory
# The version range of the dependency
versionRange="[14.23.2.0,)" #mandatory
versionRange="[24,)" #mandatory
# An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory
ordering="NONE"
# Side this dependency is applied on - BOTH, CLIENT or SERVER