From 83918a6aaf178f91891b61dc0184d96a015ed7fe Mon Sep 17 00:00:00 2001 From: grimmauld Date: Sun, 11 Oct 2020 15:43:04 +0200 Subject: [PATCH] Fix build issues by not relying on modmaven, update JEI dependency to use dedicated 1.16.3 files --- build.gradle | 11 ++++++----- gradle.properties | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index bf686d076..d60a83710 100644 --- a/build.gradle +++ b/build.gradle @@ -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") diff --git a/gradle.properties b/gradle.properties index 1f84109d2..44cbd67b4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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