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.
This commit is contained in:
Jason Penilla 2021-12-21 01:17:52 -08:00
parent 846f6b2d99
commit b391c1cb92
2 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
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")

View file

@ -29,9 +29,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
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")