-
Notifications
You must be signed in to change notification settings - Fork 0
Home
HyperionDash edited this page Jul 7, 2026
·
20 revisions
NOTE: the project is not currently published on modrinth, and so this example will not work at the moment, please use the files implementation to add the mod to your project instead of implementation
we start in your build.gradle, where you add this as your repositories block
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
filter {
includeGroup "maven.modrinth"
}
}
}
then, in dependencies block, you add this
dependencies {
// SilliestLib
implementation "maven.modrinth:silliestlib:${project.silliestlib_version}")
}
in your gradle.properties, you now need to add the mod version, this changes with every update to the mod, so make sure to change it to update SilliestLib
silliestlib_version=5tyFcZan
this is technically optional and can replace ${project.silliestlib_version} in the build.gradle instead of being here, but is cleaner to do here