Installs an executable with it's dependent libraries so it can be easily executed.
Type | Name and description |
---|---|
File |
destinationDir The directory to install files into. |
File |
executable The executable file to install. |
FileCollection |
libs The library files that should be installed. |
NativeToolChain |
toolChain The tool chain used for linking. |
Constructor and description |
---|
InstallExecutable
() |
Type | Name and description |
---|---|
FileOperations |
getFileOperations() |
FileSystem |
getFileSystem() |
Instantiator |
getInstantiator() |
OperatingSystem |
getOs() |
File |
getRunScript() Returns the script file that can be used to run the install image. |
void |
install() |
void |
lib(Object libs) Adds a set of library files to be installed. |
The directory to install files into.
The executable file to install.
The library files that should be installed.
The tool chain used for linking.
Returns the script file that can be used to run the install image.
Adds a set of library files to be installed. The provided libs object is evaluated as per Project.files.
Gradle API 2.2-20140924021627+0000