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:1-21-11-update-better-biomes:forge-2.2.0.0-1.20.4-alpha.2