Fix build issues by not relying on modmaven, update JEI dependency to use dedicated 1.16.3 files

This commit is contained in:
grimmauld 2020-10-11 15:43:04 +02:00
parent 131669c9ff
commit 83918a6aaf
2 changed files with 7 additions and 6 deletions

View file

@ -83,11 +83,12 @@ repositories {
name "Progwml6 maven"
url "https://dvs1.progwml6.com/files/maven/"
}
/*
maven {
// location of a maven mirror for JEI files, as a fallback
name "ModMaven"
url "https://modmaven.k-4u.nl"
}
}*/
maven {
//location of the maven for vazkii's mods
name "blamejared"
@ -110,11 +111,11 @@ dependencies {
def registrate = "com.tterrag.registrate:Registrate:MC1.16.2-${registrate_version}"
implementation fg.deobf(registrate)
shade registrate
// compile against the JEI API but do not include it at runtime
compileOnly fg.deobf("mezz.jei:jei-1.16.2:${jei_version}:api")
// at runtime, use the full JEI jar
runtimeOnly fg.deobf("mezz.jei:jei-1.16.2:${jei_version}")
compileOnly fg.deobf("mezz.jei:jei-${minecraft_version}:${jei_version}:api")
// at runtime, use the full JEI jar
runtimeOnly fg.deobf("mezz.jei:jei-${minecraft_version}:${jei_version}")
// i'll leave this here commented for easier testing
//runtimeOnly fg.deobf("vazkii.arl:AutoRegLib:1.4-35.69")

View file

@ -10,7 +10,7 @@ forge_version=34.1.17
# dependency versions
registrate_version=1.0.0-beta.6
jei_version=7.3.2.27
jei_version=7.6.0.45
# curseforge information
projectId=328085