mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2025-01-02 20:47:37 +00:00
update paper
This commit is contained in:
parent
75a4403f17
commit
3a20c68190
@ -8,7 +8,7 @@ plugins {
|
||||
|
||||
paperweight {
|
||||
upstreams.paper {
|
||||
ref = "3a82d04b7e5f4f4f2cbde9d231ceb9a81ef93bbe"
|
||||
ref = "e6559c553365946353881a7765b478930ce4b583"
|
||||
|
||||
patchFile {
|
||||
path = "paper-server/build.gradle.kts"
|
||||
|
@ -1,13 +1,6 @@
|
||||
--- a/paper-server/build.gradle.kts
|
||||
+++ b/paper-server/build.gradle.kts
|
||||
@@ -1,5 +_,5 @@
|
||||
import io.papermc.paperweight.attribute.DevBundleOutput
|
||||
-import io.papermc.paperweight.core.ext
|
||||
+import io.papermc.paperweight.core.coreExt
|
||||
import io.papermc.paperweight.util.*
|
||||
import java.time.Instant
|
||||
|
||||
@@ -22,25 +_,37 @@
|
||||
@@ -21,25 +_,37 @@
|
||||
// macheOldPath = file("F:\\Projects\\PaperTooling\\mache\\versions\\1.21.4\\src\\main\\java")
|
||||
// gitFilePatches = true
|
||||
|
||||
@ -57,18 +50,7 @@
|
||||
}
|
||||
|
||||
tasks.generateDevelopmentBundle {
|
||||
@@ -52,8 +_,8 @@
|
||||
|
||||
// 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)
|
||||
+ // paperPatches.setFrom(project.coreExt.paper.sourcePatchDir.dir("com"), project.coreExt.paper.featurePatchDir)
|
||||
+ // paperPatches.from(project.coreExt.paper.sourcePatchDir, project.ext.paper.featurePatchDir)
|
||||
}
|
||||
|
||||
abstract class Services {
|
||||
@@ -111,7 +_,20 @@
|
||||
@@ -104,7 +_,20 @@
|
||||
}
|
||||
}
|
||||
|
||||
@ -90,7 +72,7 @@
|
||||
configurations.named(log4jPlugins.compileClasspathConfigurationName) {
|
||||
extendsFrom(configurations.compileClasspath.get())
|
||||
}
|
||||
@@ -130,7 +_,7 @@
|
||||
@@ -123,7 +_,7 @@
|
||||
// Paper end - configure mockito agent that is needed in newer java versions
|
||||
|
||||
dependencies {
|
||||
|
Loading…
Reference in New Issue
Block a user