From 606d8d99f84eb32ba533a6b8c5b4ec6d3f874c39 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Tue, 3 Dec 2024 20:50:18 -0700 Subject: [PATCH] Fix api build script deprecation --- patches/api/Adventure.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) + ) + } +