Dont throw when annotationDependency is not resloved.
This commit is contained in:
		
							parent
							
								
									5c4d89bd0d
								
							
						
					
					
						commit
						42a0cbd3b3
					
				
					 1 changed files with 0 additions and 4 deletions
				
			
		|  | @ -183,10 +183,6 @@ public class SourceRemapper { | |||
| 			Set<File> files = project.getConfigurations().getByName("compileOnly") | ||||
| 					.files(annotationDependency); | ||||
| 
 | ||||
| 			if (files.size() != 1) { | ||||
| 				throw new RuntimeException(String.format("Found %d files for the annotations, expected 1", files.size())); | ||||
| 			} | ||||
| 
 | ||||
| 			for (File file : files) { | ||||
| 				m.getClassPath().add(file.toPath()); | ||||
| 			} | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue