Add -Dloom.refresh=true option (#508)
* Add -Dloom.refresh=true option * Use Boolean.getBoolean
This commit is contained in:
		
							parent
							
								
									676a498e0c
								
							
						
					
					
						commit
						c6f51f1dd2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -64,7 +64,7 @@ public class LoomGradlePlugin implements BootstrappedPlugin { | ||||||
| 	public void apply(Project project) { | 	public void apply(Project project) { | ||||||
| 		project.getLogger().lifecycle("Fabric Loom: " + LOOM_VERSION); | 		project.getLogger().lifecycle("Fabric Loom: " + LOOM_VERSION); | ||||||
| 
 | 
 | ||||||
| 		refreshDeps = project.getGradle().getStartParameter().isRefreshDependencies(); | 		refreshDeps = project.getGradle().getStartParameter().isRefreshDependencies() || Boolean.getBoolean("loom.refresh"); | ||||||
| 
 | 
 | ||||||
| 		if (refreshDeps) { | 		if (refreshDeps) { | ||||||
| 			project.getLogger().lifecycle("Refresh dependencies is in use, loom will be significantly slower."); | 			project.getLogger().lifecycle("Refresh dependencies is in use, loom will be significantly slower."); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue