aboutsummaryrefslogtreecommitdiffhomepage
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
commit606d8d99f84eb32ba533a6b8c5b4ec6d3f874c39 (patch)
tree1d8ccc0479769a07c2364cc7483dc271bf7906a9
parent39ab1fb4564e2d9fc90fd3f00eaee86631ec647f (diff)
downloadPaper-606d8d99f84eb32ba533a6b8c5b4ec6d3f874c39.tar.gz
Paper-606d8d99f84eb32ba533a6b8c5b4ec6d3f874c39.zip
Fix api build script deprecation
-rw-r--r--patches/api/Adventure.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/api/Adventure.patch b/patches/api/Adventure.patch
index c1c82e2368..c2cc35f1f9 100644
--- a/patches/api/Adventure.patch
+++ b/patches/api/Adventure.patch
@@ -84,7 +84,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ 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)
+ )
+ }
+