diff options
author | Jason Penilla <[email protected]> | 2021-12-21 01:17:52 -0800 |
---|---|---|
committer | Jason Penilla <[email protected]> | 2021-12-21 01:17:52 -0800 |
commit | df8d28a450fe391b9f0c2dc4a64543cf9b84266f (patch) | |
tree | 50508381946ce09043b762f8454283910252b43f | |
parent | 8a9979c85ab6888a9aa2b20abfe13718f212d807 (diff) | |
download | Paper-df8d28a450fe391b9f0c2dc4a64543cf9b84266f.tar.gz Paper-df8d28a450fe391b9f0c2dc4a64543cf9b84266f.zip |
Update checker framework & log4j-api for paper-api (also rebuild patches)
Note that the log4j-api version used in paper-api does not affect the version used in paper-server, this just affects the version people will see in their IDE when compiling against paper-api.
-rw-r--r-- | patches/api/0002-Build-system-changes.patch | 8 | ||||
-rw-r--r-- | patches/api/0069-Allow-plugins-to-use-SLF4J-for-logging.patch | 4 | ||||
-rw-r--r-- | patches/server/0830-Only-write-chunk-data-to-disk-if-it-serializes-witho.patch (renamed from patches/server/0832-Only-write-chunk-data-to-disk-if-it-serializes-witho.patch) | 0 | ||||
-rw-r--r-- | patches/server/0831-Fix-tripwire-state-inconsistency.patch (renamed from patches/server/0833-Fix-tripwire-state-inconsistency.patch) | 0 |
4 files changed, 6 insertions, 6 deletions
diff --git a/patches/api/0002-Build-system-changes.patch b/patches/api/0002-Build-system-changes.patch index fb74bef974..b9c0bae06d 100644 --- a/patches/api/0002-Build-system-changes.patch +++ b/patches/api/0002-Build-system-changes.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Build system changes diff --git a/build.gradle.kts b/build.gradle.kts -index c76bfbcfbe034700bdbd9396643cfca625273a14..364b6215d2facb0273a67ff605ccb8e707e080b8 100644 +index c76bfbcfbe034700bdbd9396643cfca625273a14..1f680baffba17265e8ce38b3516624bffd034075 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -15,15 +15,27 @@ dependencies { @@ -29,9 +29,9 @@ index c76bfbcfbe034700bdbd9396643cfca625273a14..364b6215d2facb0273a67ff605ccb8e7 testCompileOnly(annotations) + // Paper start - add checker -+ val checkerAnnotations = "org.checkerframework:checker-qual:3.19.0" -+ compileOnlyApi(checkerAnnotations) -+ testCompileOnly(checkerAnnotations) ++ val checkerQual = "org.checkerframework:checker-qual:3.21.0" ++ compileOnlyApi(checkerQual) ++ testCompileOnly(checkerQual) + // Paper end + testImplementation("junit:junit:4.13.2") diff --git a/patches/api/0069-Allow-plugins-to-use-SLF4J-for-logging.patch b/patches/api/0069-Allow-plugins-to-use-SLF4J-for-logging.patch index 16b6080ff4..6b9df358dc 100644 --- a/patches/api/0069-Allow-plugins-to-use-SLF4J-for-logging.patch +++ b/patches/api/0069-Allow-plugins-to-use-SLF4J-for-logging.patch @@ -14,14 +14,14 @@ it without having to shade it in the plugin and going through several layers of logging abstraction. diff --git a/build.gradle.kts b/build.gradle.kts -index 5a1b66c6692451a78be6c4adb103de34bb06b056..591f30a41d6f39683c60758c2e9f32bb6b476a62 100644 +index d8d459561cc75935136f8f9888ff27b45ad98f9e..a23b2bd8e1ca1ff8d0ad5ed5d5e41c89e4795090 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -38,6 +38,8 @@ dependencies { apiAndDocs("net.kyori:adventure-text-serializer-gson") apiAndDocs("net.kyori:adventure-text-serializer-legacy") apiAndDocs("net.kyori:adventure-text-serializer-plain") -+ api("org.apache.logging.log4j:log4j-api:2.14.1") ++ api("org.apache.logging.log4j:log4j-api:2.17.0") + api("org.slf4j:slf4j-api:1.8.0-beta4") implementation("org.ow2.asm:asm:9.2") diff --git a/patches/server/0832-Only-write-chunk-data-to-disk-if-it-serializes-witho.patch b/patches/server/0830-Only-write-chunk-data-to-disk-if-it-serializes-witho.patch index f6365f90b4..f6365f90b4 100644 --- a/patches/server/0832-Only-write-chunk-data-to-disk-if-it-serializes-witho.patch +++ b/patches/server/0830-Only-write-chunk-data-to-disk-if-it-serializes-witho.patch diff --git a/patches/server/0833-Fix-tripwire-state-inconsistency.patch b/patches/server/0831-Fix-tripwire-state-inconsistency.patch index d3a454f329..d3a454f329 100644 --- a/patches/server/0833-Fix-tripwire-state-inconsistency.patch +++ b/patches/server/0831-Fix-tripwire-state-inconsistency.patch |