-
- All Implemented Interfaces:
public final class VariantComputerKt
-
-
Method Summary
Modifier and Type Method Description final static Provider<String>
computeNodeExec(NodeExtension nodeExtension, Provider<Directory> nodeBinDirProvider)
Get the expected node binary name, node.exe on Windows and node everywhere else. final static Provider<String>
computeNpmScriptFile(Provider<Directory> nodeDirProvider, String command, Boolean isWindows)
final static Provider<Directory>
computeNodeDir(NodeExtension nodeExtension)
final static Provider<Directory>
computeNodeDir(NodeExtension nodeExtension, String osName, String osArch)
final static Provider<String>
computeNodeArchiveDependency(NodeExtension extension)
Get the node archive name in Gradle dependency format, using zip for Windows and tar.gz everywhere else. -
-
Method Detail
-
computeNodeExec
final static Provider<String> computeNodeExec(NodeExtension nodeExtension, Provider<Directory> nodeBinDirProvider)
Get the expected node binary name, node.exe on Windows and node everywhere else.
-
computeNpmScriptFile
final static Provider<String> computeNpmScriptFile(Provider<Directory> nodeDirProvider, String command, Boolean isWindows)
-
computeNodeDir
final static Provider<Directory> computeNodeDir(NodeExtension nodeExtension)
-
computeNodeDir
final static Provider<Directory> computeNodeDir(NodeExtension nodeExtension, String osName, String osArch)
-
computeNodeArchiveDependency
final static Provider<String> computeNodeArchiveDependency(NodeExtension extension)
Get the node archive name in Gradle dependency format, using zip for Windows and tar.gz everywhere else.
Essentially: org.nodejs:node:$version:$osName-$osArch@tar.gz
-
-
-
-