import all MCDev files for remap

This commit is contained in:
Simon Gardling 2021-05-07 21:54:13 -04:00
parent 781e65bc7f
commit e43f23d415

View File

@ -106,6 +106,7 @@ internal fun Project.createApplyPatchesTask(
bashCmd("cd mappings/mapper && ./gradlew installDist", printOut = true)
bashCmd("rm -fr mappings/work/Base", printOut = true)
bashCmd("mkdir -p mappings/work/Base/src/main/java/com/mojang", printOut = true)
bashCmd("cp -r $paperDecompDir/spigot/* mappings/work/Base/src/main/java/", printOut = true, dir = project.getRootDir())
bashCmd("cp -r $forkName-Server/src/main/java/* mappings/work/Base/src/main/java/", printOut = true)
bashCmd("cp -r $paperDecompDir/libraries/com.mojang/*/* mappings/work/Base/src/main/java/", printOut = true)
bashCmd("rm -fr mappings/work/$forkName-Server_yarn_unpatched && mkdir -p mappings/work/$forkName-Server_yarn_unpatched/src/main/java", printOut = true)