Version 6.0! Idk why but version 5 somehow added so many feratres and maneged to break almost all of them so they all will be fixed in version 7 fully.
Developer information
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" }