Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }
Maven coordinates:
maven.modrinth:auto-smelter-datapack-ores-drop-ingots-without-a-furnace:2.1.0+1.18.2