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:day-count-a-day-counter-hud-forge-neoforge-fabric:1.3.9-NeoForge-mc1.21.9