Fix source remapping not having the full classpath
This commit is contained in:
		
							parent
							
								
									f673579da8
								
							
						
					
					
						commit
						f529c6e01e
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -208,6 +208,12 @@ public class SourceRemapper { | ||||||
| 			for (File file : project.getConfigurations().getByName("compileClasspath").getFiles()) { | 			for (File file : project.getConfigurations().getByName("compileClasspath").getFiles()) { | ||||||
| 				m.getClassPath().add(file.toPath()); | 				m.getClassPath().add(file.toPath()); | ||||||
| 			} | 			} | ||||||
|  | 		} else { | ||||||
|  | 			for (RemappedConfigurationEntry entry : Constants.MOD_COMPILE_ENTRIES) { | ||||||
|  | 				for (File inputFile : project.getConfigurations().getByName(entry.getSourceConfiguration()).getFiles()) { | ||||||
|  | 					m.getClassPath().add(inputFile.toPath()); | ||||||
|  | 				} | ||||||
|  | 			} | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
| 		return m; | 		return m; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue