From b95e27be6ca637b2c42e4f14ca53d42dd99e5355 Mon Sep 17 00:00:00 2001 From: MiniDigger | Martin Date: Fri, 13 Dec 2024 20:16:59 +0100 Subject: [PATCH] skip setupMacheSource on patch changes to save some time --- paper-server/build.gradle.kts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/paper-server/build.gradle.kts b/paper-server/build.gradle.kts index 7a8c6d0fbf..22cdfb4fcc 100644 --- a/paper-server/build.gradle.kts +++ b/paper-server/build.gradle.kts @@ -1,4 +1,5 @@ import io.papermc.paperweight.attribute.DevBundleOutput +import io.papermc.paperweight.core.ext import io.papermc.paperweight.util.* import java.time.Instant @@ -49,6 +50,12 @@ tasks.generateDevelopmentBundle { ) } +// TODO remove me again, this is just to not run setupMacheSource when patches change +tasks.setupMacheSources { + paperPatches.setFrom(project.ext.paper.sourcePatchDir.dir("com"), project.ext.paper.featurePatchDir) + // paperPatches.from(project.ext.paper.sourcePatchDir, project.ext.paper.featurePatchDir) +} + abstract class Services { @get:Inject abstract val softwareComponentFactory: SoftwareComponentFactory