Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gradle: Add support for including API stubs / "headers" for mod integ…
…ration purposes This allows us to implement APIs provided by other mods without having to depend on external maven repositories or mod files. Instead, we include the Java files describing the APIs we want to implement into a special source set. This source set ("headers") is only used for compilation purposes, and its files are not compiled into the resulting Iris JAR file. The files in this source set are also not made available at runtime unless the corresponding mod is present. This method of implementing external mod APIs should be much more resilient than simply pulling dependencies from someone else's Maven repository, especially if that Maven repository is unreliable.
- Loading branch information