From e301d7d48070b332c30d5951a1045732ae373017 Mon Sep 17 00:00:00 2001 From: embeddedt <42941056+embeddedt@users.noreply.github.com> Date: Thu, 28 Dec 2023 14:08:32 -0500 Subject: [PATCH] Shadow annotations project so they are in the production jar --- fabric/build.gradle | 1 + forge/build.gradle | 1 + 2 files changed, 2 insertions(+) diff --git a/fabric/build.gradle b/fabric/build.gradle index c2047731..e4667614 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -50,6 +50,7 @@ dependencies { common(project(path: ":common", configuration: "namedElements")) { transitive false } testImplementation(shadowCommon(project(path: ":common", configuration: "transformProductionFabric"))) { transitive false } + shadowCommon(project(path: ":annotations")) testImplementation(platform("org.junit:junit-bom:${project.junit_version}")) testImplementation("org.junit.jupiter:junit-jupiter-api") diff --git a/forge/build.gradle b/forge/build.gradle index ea515fab..467bca07 100644 --- a/forge/build.gradle +++ b/forge/build.gradle @@ -82,6 +82,7 @@ dependencies { common(project(path: ":common", configuration: "namedElements")) { transitive false } shadowCommon(project(path: ":common", configuration: "transformProductionForge")) { transitive = false } + shadowCommon(project(path: ":annotations")) } processResources {