This is a fork of https://github.com/ReplayMod/remap for use with unimined. it will be dynamically polled by unimined only when needed and run in a separate process to fulfil the plugin requirements of GPL 3, for unimined itself to not have to be GPL 3.
Towards that end, I still need to modify the remapper for use in unimined, thus this repo distributes the changed source code, as well as allowing me to upload it to my maven easier.
To migrate from Yarn to Mojmap, go into your project's build script and add this code:
afterEvaluate {
println(sourceSets.main.compileClasspath.join(File.pathSeparator))
}
This will take effect when you reconfigure your project (such as when refreshing/reloading Gradle in your IDE). It will print out your project's classpath, which you'll need later.
Note
If you're working on a multimodule project (such as if using Architectury), you should do this for each module, and pass all classpaths.
Now you need
The Remap is provided under the terms of the GNU General Public License Version 3 or (at your option) any later version.
See LICENSE.md
for the full license text.