aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0006-Adventure.patch
diff options
context:
space:
mode:
authorJason Penilla <[email protected]>2024-12-03 20:50:18 -0700
committerJason Penilla <[email protected]>2024-12-03 20:50:18 -0700
commitcbd578c7b541240f4e9405d4db0fe4270125e873 (patch)
treebdbf9eecf187e551a8bb436ccf5065aee32117b3 /patches/api/0006-Adventure.patch
parente5bf173f6aa32b9297343870ad2eec6ab4ed073d (diff)
downloadPaper-cbd578c7b541240f4e9405d4db0fe4270125e873.tar.gz
Paper-cbd578c7b541240f4e9405d4db0fe4270125e873.zip
Fix api build script deprecation
Diffstat (limited to 'patches/api/0006-Adventure.patch')
-rw-r--r--patches/api/0006-Adventure.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/api/0006-Adventure.patch b/patches/api/0006-Adventure.patch
index 8e33b0a1db..85e754d099 100644
--- a/patches/api/0006-Adventure.patch
+++ b/patches/api/0006-Adventure.patch
@@ -8,7 +8,7 @@ Co-authored-by: Jake Potrebic <[email protected]>
Co-authored-by: Yannick Lamprecht <[email protected]>
diff --git a/build.gradle.kts b/build.gradle.kts
-index 6457e9e11620b9b77f067e2d45d7fb45235f23d3..b533f386bd42886ca23009821450b20c8614026a 100644
+index 6457e9e11620b9b77f067e2d45d7fb45235f23d3..64f7695cf37e9e60712f8b56d3aee0256e71c8e6 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -11,6 +11,18 @@ java {
@@ -84,7 +84,7 @@ index 6457e9e11620b9b77f067e2d45d7fb45235f23d3..b533f386bd42886ca23009821450b20c
+ doFirst {
+ options.addStringOption(
+ "sourcepath",
-+ apiAndDocs.resolvedConfiguration.files.joinToString(separator = File.pathSeparator, transform = File::getPath)
++ apiAndDocs.elements.get().map { it.asFile }.joinToString(separator = File.pathSeparator, transform = File::getPath)
+ )
+ }
+