download BCLib from modrinth if not using local lib
This commit is contained in:
parent
a5bfe04ed1
commit
2bd52a3320
1 changed files with 12 additions and 1 deletions
13
build.gradle
13
build.gradle
|
@ -29,6 +29,17 @@ repositories {
|
||||||
maven { url "https://ladysnake.jfrog.io/artifactory/mods" }
|
maven { url "https://ladysnake.jfrog.io/artifactory/mods" }
|
||||||
maven { url = "https://dvs1.progwml6.com/files/maven/" }
|
maven { url = "https://dvs1.progwml6.com/files/maven/" }
|
||||||
maven { url = "https://modmaven.dev" }
|
maven { url = "https://modmaven.dev" }
|
||||||
|
exclusiveContent {
|
||||||
|
forRepository {
|
||||||
|
maven {
|
||||||
|
name = "Modrinth"
|
||||||
|
url = "https://api.modrinth.com/maven"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
filter {
|
||||||
|
includeGroup "maven.modrinth"
|
||||||
|
}
|
||||||
|
}
|
||||||
flatDir {
|
flatDir {
|
||||||
dirs 'libs'
|
dirs 'libs'
|
||||||
}
|
}
|
||||||
|
@ -53,7 +64,7 @@ dependencies {
|
||||||
if (local_bclib) {
|
if (local_bclib) {
|
||||||
implementation(project(path: ":BCLib", configuration: 'dev'))
|
implementation(project(path: ":BCLib", configuration: 'dev'))
|
||||||
} else {
|
} 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-fabric:${project.rei_version}"
|
||||||
modCompileOnly "me.shedaniel:RoughlyEnoughItems-api-fabric:${project.rei_version}"
|
modCompileOnly "me.shedaniel:RoughlyEnoughItems-api-fabric:${project.rei_version}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue