Librarian is a collection of Gradle software that interfaces with Gradle applications for Minecraft development to support Parchment mappings.
Currently, it supports interfacing with ForgeGradle using org.parchmentmc.librarian.forgegradle.
See the ForgeGradle usage guide for information on how to use Parchment with ForgeGradle.