aboutsummaryrefslogtreecommitdiffhomepage
path: root/paper-server/build.gradle.kts
diff options
context:
space:
mode:
authorMiniDigger | Martin <[email protected]>2024-12-13 20:16:59 +0100
committerMiniDigger | Martin <[email protected]>2024-12-13 20:16:59 +0100
commitb95e27be6ca637b2c42e4f14ca53d42dd99e5355 (patch)
treeb76da746f2821f22cda2fdfb74cb0f78ebabcee2 /paper-server/build.gradle.kts
parente0fae5ef02dc02f0f096da1046f9f64aaf001a6c (diff)
downloadPaper-b95e27be6ca637b2c42e4f14ca53d42dd99e5355.tar.gz
Paper-b95e27be6ca637b2c42e4f14ca53d42dd99e5355.zip
skip setupMacheSource on patch changes to save some time
Diffstat (limited to 'paper-server/build.gradle.kts')
-rw-r--r--paper-server/build.gradle.kts7
1 files changed, 7 insertions, 0 deletions
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