Update runDev task for Gradle 7.1 deprecations

also no longer disable watchdog by default, instead require `disableWatchdog` Gradle property to be set
This commit is contained in:
Jason Penilla 2021-06-15 22:10:05 -07:00
parent 380953bda2
commit ad2a112c89
No known key found for this signature in database
GPG key ID: 0E75A301420E48F8
10 changed files with 40 additions and 39 deletions

View file

@ -5,10 +5,10 @@ Subject: [PATCH] Build system changes
diff --git a/build.gradle.kts b/build.gradle.kts
index 80fab4621582aed02cc029900999ceff72e027ef..07be9eb1dd7f0f85e8a36cc4e8df807bae989372 100644
index 792fea417637493814071850e780e9923d75a637..c255556783133278aaa0720969324f4c870ad7be 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -22,21 +22,24 @@ repositories {
@@ -21,21 +21,24 @@ repositories {
dependencies {
implementation(project(":Paper-API"))
implementation("jline:jline:2.12.1")
@ -37,7 +37,7 @@ index 80fab4621582aed02cc029900999ceff72e027ef..07be9eb1dd7f0f85e8a36cc4e8df807b
testImplementation("junit:junit:4.13.1")
testImplementation("org.hamcrest:hamcrest-library:1.3")
}
@@ -53,7 +56,8 @@ tasks.jar {
@@ -52,7 +55,8 @@ tasks.jar {
"Implementation-Vendor" to SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'").format(Date()), // Paper
"Specification-Title" to "Bukkit",
"Specification-Version" to project.version,
@ -47,7 +47,7 @@ index 80fab4621582aed02cc029900999ceff72e027ef..07be9eb1dd7f0f85e8a36cc4e8df807b
))
for (tld in listOf("net", "com", "org")) {
attributes(mapOf(
@@ -73,9 +77,17 @@ configure<PublishingExtension> {
@@ -72,9 +76,17 @@ configure<PublishingExtension> {
}
}