Update DiffPatch (#225)
This commit is contained in:
parent
3be0f6cff7
commit
47ec175e27
3 changed files with 4 additions and 3 deletions
|
@ -24,7 +24,7 @@ repositories {
|
|||
}
|
||||
maven("https://repo.papermc.io/repository/maven-public/") {
|
||||
mavenContent {
|
||||
includeGroup("net.minecraftforge")
|
||||
includeGroup("codechicken")
|
||||
includeGroup("net.fabricmc")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ slf4j-jdk14 = "org.slf4j:slf4j-jdk14:1.7.32"
|
|||
lorenzTiny = "net.fabricmc:lorenz-tiny:3.0.0"
|
||||
jbsdiff = "io.sigpipe:jbsdiff:1.0"
|
||||
|
||||
diffpatch = "net.minecraftforge:DiffPatch:2.0.7"
|
||||
diffpatch = "codechicken:DiffPatch:1.5.0.29"
|
||||
|
||||
# Gradle
|
||||
gradle-licenser = "net.kyori:indra-licenser-spotless:3.1.3"
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
package io.papermc.paperweight.userdev.internal.setup.step
|
||||
|
||||
import codechicken.diffpatch.cli.PatchOperation
|
||||
import codechicken.diffpatch.util.LogLevel
|
||||
import codechicken.diffpatch.util.archiver.ArchiveFormat
|
||||
import io.papermc.paperweight.PaperweightException
|
||||
import io.papermc.paperweight.userdev.internal.setup.SetupHandler
|
||||
|
@ -65,7 +66,7 @@ class ApplyDevBundlePatches(
|
|||
PrintStream(log.toFile(), Charsets.UTF_8).use { logOut ->
|
||||
val op = PatchOperation.builder()
|
||||
.logTo(logOut)
|
||||
.verbose(true)
|
||||
.level(LogLevel.ALL)
|
||||
.summary(true)
|
||||
.basePath(decompiledJar, ArchiveFormat.ZIP)
|
||||
.patchesPath(tempPatchDir)
|
||||
|
|
Loading…
Reference in a new issue