mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-15 14:13:56 +01:00
skip setupMacheSource on patch changes to save some time
This commit is contained in:
parent
e0fae5ef02
commit
b95e27be6c
1 changed files with 7 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
import io.papermc.paperweight.attribute.DevBundleOutput
|
import io.papermc.paperweight.attribute.DevBundleOutput
|
||||||
|
import io.papermc.paperweight.core.ext
|
||||||
import io.papermc.paperweight.util.*
|
import io.papermc.paperweight.util.*
|
||||||
import java.time.Instant
|
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 {
|
abstract class Services {
|
||||||
@get:Inject
|
@get:Inject
|
||||||
abstract val softwareComponentFactory: SoftwareComponentFactory
|
abstract val softwareComponentFactory: SoftwareComponentFactory
|
||||||
|
|
Loading…
Reference in a new issue