From 3847c740857aa7b17ddcf726ea31a6b3ccf13311 Mon Sep 17 00:00:00 2001
From: modmuss50 <modmuss50@gmail.com>
Date: Sun, 1 May 2022 16:16:30 +0100
Subject: [PATCH] Fix release build.

---
 build.gradle            | 5 +++--
 deprecated/build.gradle | 3 ---
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/build.gradle b/build.gradle
index 506c95d0e..2d61406fc 100644
--- a/build.gradle
+++ b/build.gradle
@@ -91,6 +91,9 @@ def moduleDependencies(project, List<String> depNames) {
 allprojects {
 	group = "net.fabricmc.fabric-api"
 
+	apply plugin: "maven-publish"
+	apply plugin: "me.modmuss50.remotesign"
+
 	tasks.withType(GenerateModuleMetadata) {
 		enabled = false
 	}
@@ -116,10 +119,8 @@ allprojects {
 
 	apply plugin: "java-library"
 	apply plugin: "checkstyle"
-	apply plugin: "maven-publish"
 	apply plugin: "fabric-loom"
 	apply plugin: "com.diffplug.spotless"
-	apply plugin: "me.modmuss50.remotesign"
 
 	tasks.withType(JavaCompile).configureEach {
 		it.options.release = 17
diff --git a/deprecated/build.gradle b/deprecated/build.gradle
index 1b38d1c03..098a282a1 100644
--- a/deprecated/build.gradle
+++ b/deprecated/build.gradle
@@ -1,9 +1,6 @@
 /**
  * This project generates a maven bill of materials (BOM) that includes the deprecated modules, alongside the main project.
  */
-
-apply plugin: "maven-publish"
-
 version = rootProject.version
 
 publishing {