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:bre-ir-only-block-railway-engineering-immersive-railroading:IR_Only-0.3.0+1.19.4Forge