mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Fix api build script deprecation
This commit is contained in:
parent
39ab1fb456
commit
606d8d99f8
@ -84,7 +84,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ doFirst {
|
+ doFirst {
|
||||||
+ options.addStringOption(
|
+ options.addStringOption(
|
||||||
+ "sourcepath",
|
+ "sourcepath",
|
||||||
+ apiAndDocs.resolvedConfiguration.files.joinToString(separator = File.pathSeparator, transform = File::getPath)
|
+ apiAndDocs.elements.get().map { it.asFile }.joinToString(separator = File.pathSeparator, transform = File::getPath)
|
||||||
+ )
|
+ )
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
|
Loading…
Reference in New Issue
Block a user