Skip to content

Commit

Permalink
update paper ref
Browse files Browse the repository at this point in the history
  • Loading branch information
TrainmasterHD committed Jan 5, 2025
1 parent 5f7573b commit 5029d1a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent

plugins {
java // TODO java launcher tasks
id("io.papermc.paperweight.patcher") version "2.0.0-beta.8"
id("io.papermc.paperweight.patcher") version "2.0.0-beta.11"
}

paperweight {
upstreams.paper {
ref = "54debf494f467a71c561cf8765c4f21725c99dd8"
ref = providers.gradleProperty("paperRef")

patchFile {
path = "paper-server/build.gradle.kts"
Expand Down
6 changes: 3 additions & 3 deletions cheetah-api/build.gradle.kts.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/paper-api/build.gradle.kts
+++ b/paper-api/build.gradle.kts
@@ -105,6 +_,18 @@
@@ -103,6 +_,18 @@
main {
java {
srcDir(generatedApiPath)
Expand All @@ -19,7 +19,7 @@
}
}
}
@@ -174,7 +_,7 @@
@@ -169,7 +_,7 @@

tasks.withType<Javadoc> {
val options = options as StandardJavadocDocletOptions
Expand All @@ -28,7 +28,7 @@
options.use()
options.isDocFilesSubDirs = true
options.links(
@@ -212,11 +_,11 @@
@@ -202,11 +_,11 @@
}

// workaround for https://github.com/gradle/gradle/issues/4046
Expand Down
10 changes: 5 additions & 5 deletions cheetah-server/build.gradle.kts.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/paper-server/build.gradle.kts
+++ b/paper-server/build.gradle.kts
@@ -20,8 +_,19 @@
@@ -21,8 +_,19 @@
// macheOldPath = file("F:\\Projects\\PaperTooling\\mache\\versions\\1.21.4\\src\\main\\java")
// gitFilePatches = true

Expand All @@ -21,7 +21,7 @@
}

spigot {
@@ -104,7 +_,20 @@
@@ -105,7 +_,20 @@
}
}

Expand All @@ -44,11 +44,11 @@
extendsFrom(configurations.compileClasspath.get())
}
@@ -123,7 +_,7 @@
// Paper end - configure mockito agent that is needed in newer java versions
}

dependencies {
- implementation(project(":paper-api"))
+ implementation(project(":cheetah-api"))
implementation("ca.spottedleaf:concurrentutil:0.0.2") // Paper - Add ConcurrentUtil dependency
// Paper start
implementation("ca.spottedleaf:concurrentutil:0.0.2")
implementation("org.jline:jline-terminal-ffm:3.27.1") // use ffm on java 22+
implementation("org.jline:jline-terminal-jni:3.27.1") // fall back to jni on java 21
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
group=net.gommehd.cheetah
version=1.21.4-R0.1-SNAPSHOT
mcVersion=1.21.4
paperRef=9f90b4c324077c0a407e6f94fdf47b4fa4bb31a0

org.gradle.configuration-cache=true
#org.gradle.caching=true
org.gradle.caching=true
org.gradle.parallel=true
org.gradle.vfs.watch=false

0 comments on commit 5029d1a

Please sign in to comment.