Add warning message for outdated Loom

This commit is contained in:
Juuz
2023-04-01 16:49:05 +03:00
committed by shedaniel
parent 6fd36613dd
commit e8d40f72db

View File

@@ -88,6 +88,7 @@ public class LoomGradlePlugin implements BootstrappedPlugin {
loggedVersions.add(LOOM_VERSION); loggedVersions.add(LOOM_VERSION);
System.setProperty("loom.printed.logged", String.join(",", loggedVersions)); System.setProperty("loom.printed.logged", String.join(",", loggedVersions));
project.getLogger().lifecycle("Architectury Loom: " + LOOM_VERSION); project.getLogger().lifecycle("Architectury Loom: " + LOOM_VERSION);
project.getLogger().lifecycle("You are using an outdated version of Architectury Loom! This version will not receive any support, please consider updating!");
} }
LibraryLocationLogger.logLibraryVersions(); LibraryLocationLogger.logLibraryVersions();