From 2bd52a3320816c51b9f4e7587b1a0130b5409565 Mon Sep 17 00:00:00 2001 From: OpenBagTwo Date: Sun, 30 Oct 2022 10:50:20 -0400 Subject: [PATCH] download BCLib from modrinth if not using local lib --- build.gradle | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 18579e29..3babb2d9 100644 --- a/build.gradle +++ b/build.gradle @@ -29,6 +29,17 @@ repositories { maven { url "https://ladysnake.jfrog.io/artifactory/mods" } maven { url = "https://dvs1.progwml6.com/files/maven/" } maven { url = "https://modmaven.dev" } + exclusiveContent { + forRepository { + maven { + name = "Modrinth" + url = "https://api.modrinth.com/maven" + } + } + filter { + includeGroup "maven.modrinth" + } + } flatDir { dirs 'libs' } @@ -53,7 +64,7 @@ dependencies { if (local_bclib) { implementation(project(path: ":BCLib", configuration: 'dev')) } else { - modImplementation "com.github.quiqueck:BCLib:${project.bclib_version}" + modImplementation "maven.modrinth:BCLib:${project.bclib_version}" } modCompileOnly "me.shedaniel:RoughlyEnoughItems-fabric:${project.rei_version}" modCompileOnly "me.shedaniel:RoughlyEnoughItems-api-fabric:${project.rei_version}"