mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-30 21:05:58 -05:00
Add -Dloom.refresh=true option (#508)
* Add -Dloom.refresh=true option * Use Boolean.getBoolean
This commit is contained in:
@@ -64,7 +64,7 @@ public class LoomGradlePlugin implements BootstrappedPlugin {
|
||||
public void apply(Project project) {
|
||||
project.getLogger().lifecycle("Fabric Loom: " + LOOM_VERSION);
|
||||
|
||||
refreshDeps = project.getGradle().getStartParameter().isRefreshDependencies();
|
||||
refreshDeps = project.getGradle().getStartParameter().isRefreshDependencies() || Boolean.getBoolean("loom.refresh");
|
||||
|
||||
if (refreshDeps) {
|
||||
project.getLogger().lifecycle("Refresh dependencies is in use, loom will be significantly slower.");
|
||||
|
||||
Reference in New Issue
Block a user