Just do ./gradlew build
and everything should build just fine!
You can look at the SpruceUI 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}")
}
And this to your gradle.properties
:
obsidianui_version=0.2.2+1.20.4