Add multi project optimisation option to allow opt into shared tiny remapper. (#747)

* Add multi project optimisation option to allow opting into shared tiny remapper.

* Review feedback and fixes
This commit is contained in:
modmuss50
2022-11-01 21:36:41 +00:00
committed by GitHub
parent e48a7124f5
commit f87320fae8
12 changed files with 90 additions and 23 deletions

View File

@@ -108,4 +108,12 @@ public interface LoomGradleExtension extends LoomGradleExtensionAPI {
boolean refreshDeps();
void setRefreshDeps(boolean refreshDeps);
/**
* If true, multi-project optimisation mode is enabled. This mode makes builds with many Loom projects
* much faster by increasing sharing and disabling some functionality.
*
* <p>You can enable it by setting the Gradle property {@code fabric.loom.multiProjectOptimisation} to {@code true}.
*/
boolean multiProjectOptimisation();
}