Interface SwiftBinary

    • Method Detail

      • getModule

        Provider<java.lang.String> getModule()
        Returns the name of the Swift module that this binary defines.
      • isTestable

        boolean isTestable()
        Returns true if this binary has testing enabled.
        Since:
        4.4
      • getSwiftSource

        FileCollection getSwiftSource()
        Returns the Swift source files of this binary.
      • getCompileModules

        FileCollection getCompileModules()
        Returns the modules to use to compile this binary. Includes the module file of this binary's dependencies.
        Since:
        4.4
      • getLinkLibraries

        FileCollection getLinkLibraries()
        Returns the link libraries to use to link this binary. Includes the link libraries of the component's dependencies.
      • getRuntimeLibraries

        FileCollection getRuntimeLibraries()
        Returns the runtime libraries required by this binary. Includes the runtime libraries of the component's dependencies.
      • getCompileTask

        Provider<SwiftCompile> getCompileTask()
        Returns the compile task for this binary.
        Since:
        4.5
      • getModuleFile

        Provider<RegularFile> getModuleFile()
        Returns the module file for this binary.
        Since:
        4.6
      • getTargetPlatform

        SwiftPlatform getTargetPlatform()
        Returns the target platform for this component.
        Since:
        5.2