aboutsummaryrefslogtreecommitdiffhomepage
path: root/paper-server/build.gradle.kts
diff options
context:
space:
mode:
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