Replace dots in artifact names as well when generating mod jsons for JIJ (#173)
This commit is contained in:
		
							parent
							
								
									cd202f2804
								
							
						
					
					
						commit
						045548a11d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -194,7 +194,7 @@ public class NestedJars { | ||||||
| 	private static String getMod(Dependency dependency) { | 	private static String getMod(Dependency dependency) { | ||||||
| 		JsonObject jsonObject = new JsonObject(); | 		JsonObject jsonObject = new JsonObject(); | ||||||
| 		jsonObject.addProperty("schemaVersion", 1); | 		jsonObject.addProperty("schemaVersion", 1); | ||||||
| 		jsonObject.addProperty("id", (dependency.getGroup().replaceAll("\\.", "_") + "_" + dependency.getName()).toLowerCase(Locale.ENGLISH)); | 		jsonObject.addProperty("id", (dependency.getGroup() + "_" + dependency.getName()).replaceAll("\\.", "_").toLowerCase(Locale.ENGLISH)); | ||||||
| 		jsonObject.addProperty("version", dependency.getVersion()); | 		jsonObject.addProperty("version", dependency.getVersion()); | ||||||
| 		jsonObject.addProperty("name", dependency.getName()); | 		jsonObject.addProperty("name", dependency.getName()); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue