2021-06-11 12:02:28 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Zach Brown <zach.brown@destroystokyo.com>
|
|
|
|
Date: Tue, 1 Mar 2016 00:16:08 +0100
|
2021-06-14 01:48:31 +00:00
|
|
|
Subject: [PATCH] Build system changes
|
2021-06-11 12:02:28 +00:00
|
|
|
|
|
|
|
|
2021-06-11 18:06:01 +00:00
|
|
|
diff --git a/build.gradle.kts b/build.gradle.kts
|
2021-07-06 03:25:23 +00:00
|
|
|
index db581a25928b3d60906fef0dc8df1bf976e1635e..5a328158622346deee6c83215fa56f64e2ba55e2 100644
|
2021-06-11 18:06:01 +00:00
|
|
|
--- a/build.gradle.kts
|
|
|
|
+++ b/build.gradle.kts
|
2021-06-15 01:50:13 +00:00
|
|
|
@@ -17,12 +17,14 @@ dependencies {
|
2021-06-11 18:06:01 +00:00
|
|
|
api("com.google.code.gson:gson:2.8.0")
|
|
|
|
api("net.md-5:bungeecord-chat:1.16-R0.4")
|
2021-06-18 14:34:30 +00:00
|
|
|
api("org.yaml:snakeyaml:1.28")
|
2021-06-11 18:06:01 +00:00
|
|
|
+ api("com.googlecode.json-simple:json-simple:1.1.1") // Paper
|
|
|
|
|
|
|
|
compileOnly("org.apache.maven:maven-resolver-provider:3.8.1")
|
|
|
|
compileOnly("org.apache.maven.resolver:maven-resolver-connector-basic:1.7.0")
|
|
|
|
compileOnly("org.apache.maven.resolver:maven-resolver-transport-http:1.7.0")
|
|
|
|
+ compileOnly("com.google.code.findbugs:jsr305:1.3.9") // Paper
|
|
|
|
|
2021-06-14 01:48:31 +00:00
|
|
|
- val annotations = "org.jetbrains:annotations-java5:21.0.1"
|
|
|
|
+ val annotations = "org.jetbrains:annotations:21.0.1" // Paper - we don't want Java 5 annotations...
|
2021-06-11 18:06:01 +00:00
|
|
|
compileOnly(annotations)
|
2021-06-14 01:48:31 +00:00
|
|
|
testCompileOnly(annotations)
|
|
|
|
|
2021-07-06 03:25:23 +00:00
|
|
|
@@ -61,7 +63,7 @@ tasks.withType<Javadoc>().configureEach {
|
|
|
|
(options as StandardJavadocDocletOptions).links(
|
|
|
|
"https://guava.dev/releases/21.0/api/docs/",
|
|
|
|
"https://javadoc.io/doc/org.yaml/snakeyaml/1.27/",
|
|
|
|
- "https://javadoc.io/doc/org.jetbrains/annotations-java5/20.1.0/",
|
|
|
|
+ "https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/", // Paper - we don't want Java 5 annotations
|
|
|
|
"https://javadoc.io/doc/net.md-5/bungeecord-chat/1.16-R0.4/",
|
|
|
|
)
|
|
|
|
}
|