Remove mods.toml (modlauncher was never supported anyway)

This commit is contained in:
Jonas Herzig
2020-07-13 14:22:03 +02:00
parent 9c49fdf4d1
commit ecee63491c
2 changed files with 2 additions and 32 deletions

View File

@@ -464,10 +464,9 @@ processResources
inputs.property 'version', { project.version }
inputs.property 'mcversion', { mcVersionStr }
// replace stuff in mcmod.info (pre 1.13) and mods.toml (1.13+) and fabric.mod.json, nothing else
// replace stuff in mcmod.info (forge) and fabric.mod.json, nothing else
from(sourceSets.main.resources.srcDirs) { spec ->
include 'mcmod.info'
include 'mods.toml'
include 'fabric.mod.json'
// replace version and mcversion
@@ -482,10 +481,9 @@ processResources
filter { line -> line.trim().startsWith('//') ? '' : line}
}
// copy everything else, thats not the mcmod.info (or mods.toml or fabric.mod.json)
// copy everything else, thats not the mcmod.info or fabric.mod.json
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
exclude 'mods.toml'
exclude 'fabric.mod.json'
exclude 'pack.mcmeta'
}