From 2a93a47dcd352d6128de0bc371d0736f9e4b9d15 Mon Sep 17 00:00:00 2001 From: BlayTheNinth <1933180+BlayTheNinth@users.noreply.github.com> Date: Sat, 9 Dec 2023 16:46:35 +0100 Subject: [PATCH] build: Fix testCompileOnly build failure --- forge/dependencies.gradle | 4 ++++ neoforge/dependencies.gradle | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/forge/dependencies.gradle b/forge/dependencies.gradle index a25d3654..cc9c42a7 100644 --- a/forge/dependencies.gradle +++ b/forge/dependencies.gradle @@ -12,4 +12,8 @@ dependencies { compileOnly fg.deobf("mcp.mobius.waila:wthit-api:forge-$wthit_version") compileOnly fg.deobf("curse.maven:the-one-probe-245211:$theoneprobe_version") //runtimeOnly fg.deobf("curse.maven:journeymap-${project.journeymap_project_id}:${project.journeymap_forge_file_id}") +} + +configurations { + testCompileOnly.extendsFrom compileOnly // for some reason needed for EMI } \ No newline at end of file diff --git a/neoforge/dependencies.gradle b/neoforge/dependencies.gradle index 4551373a..75850468 100644 --- a/neoforge/dependencies.gradle +++ b/neoforge/dependencies.gradle @@ -11,4 +11,8 @@ dependencies { compileOnly "curse.maven:jade-324717:$jade_forge_version" compileOnly "mcp.mobius.waila:wthit-api:forge-$wthit_version" compileOnly "curse.maven:the-one-probe-245211:$theoneprobe_version" +} + +configurations { + testCompileOnly.extendsFrom compileOnly // for some reason needed for EMI } \ No newline at end of file