Class AbstractLinkTask

    • Constructor Detail

      • AbstractLinkTask

        public AbstractLinkTask()
    • Method Detail

      • getTargetPlatform

        public Property<NativePlatform> getTargetPlatform()
        The platform being linked for.
        Since:
        4.7
      • getDestinationDirectory

        @OutputDirectory
        public DirectoryProperty getDestinationDirectory()
        Include the destination directory as an output, to pick up auxiliary files produced alongside the main output file
        Since:
        4.7
      • getLinkerArgs

        @Input
        public ListProperty<java.lang.String> getLinkerArgs()
        Additional arguments passed to the linker.
        Since:
        4.3
      • isDebuggable

        @Internal
        public boolean isDebuggable()
        Create a debuggable binary?
        Since:
        4.7
      • getDebuggable

        @Input
        public Property<java.lang.Boolean> getDebuggable()
        Create a debuggable binary?
        Since:
        4.7
      • lib

        public void lib​(java.lang.Object libs)
        Adds a set of library files to be linked. The provided libs object is evaluated as per Project.files(Object...).
      • getCompilerVersion

        protected CompilerVersion getCompilerVersion()
        The linker used, including the type and the version.
        Since:
        4.7
      • getOperationLoggerFactory

        @Inject
        protected org.gradle.internal.operations.logging.BuildOperationLoggerFactory getOperationLoggerFactory()
      • getDeleter

        @Inject
        protected org.gradle.internal.file.Deleter getDeleter()
      • link

        protected void link()
      • createLinkerSpec

        protected abstract org.gradle.nativeplatform.internal.LinkerSpec createLinkerSpec()