aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 5b1eefd..ca323a3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -16,6 +16,9 @@ repositories {
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
// for more information about repositories.
+ maven {
+ url = "https://api.modrinth.com/maven"
+ }
}
loom {
@@ -39,6 +42,8 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
+ modImplementation "maven.modrinth:midnightlib:${project.midnightlib_version}"
+ include "maven.modrinth:midnightlib:${project.midnightlib_version}"
}
processResources {