Disable log4j jansi support when compiling, removes a warning about it.
This commit is contained in:
		
							parent
							
								
									dd440acb8e
								
							
						
					
					
						commit
						2070aeb94a
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -262,6 +262,7 @@ public final class CompileConfiguration { | ||||||
| 			// Disable some things used by log4j via the mixin AP that prevent it from being garbage collected | 			// Disable some things used by log4j via the mixin AP that prevent it from being garbage collected | ||||||
| 			System.setProperty("log4j2.disable.jmx", "true"); | 			System.setProperty("log4j2.disable.jmx", "true"); | ||||||
| 			System.setProperty("log4j.shutdownHookEnabled", "false"); | 			System.setProperty("log4j.shutdownHookEnabled", "false"); | ||||||
|  | 			System.setProperty("log4j.skipJansi", "true"); | ||||||
| 
 | 
 | ||||||
| 			project.getLogger().info("Configuring compiler arguments for Java"); | 			project.getLogger().info("Configuring compiler arguments for Java"); | ||||||
| 			new JavaApInvoker(project).configureMixin(); | 			new JavaApInvoker(project).configureMixin(); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue