Just do ./gradlew build
and everything should build just fine!
You can look at the fabric-testmod/neoforge-testmod for examples of use.
Add this to your build.gradle
in addition of the base mod build.gradle
:
repositories {
maven { url = "https://api.modrinth.com/maven" }
}
dependencies {
include modImplementation("maven.modrinth:obsidianui:${project.obsidianui_version}-${modloader}")
}
And this to your gradle.properties
:
obsidianui_version=0.2.6+1.21