@Incubating @CacheableTask open class SwiftCompile : DefaultTask
Compiles Swift source files into object files.
Since
4.1
SwiftCompile(compilerOutputFileNamingSchemeFactory: CompilerOutputFileNamingSchemeFactory) |
open fun getCompilerArgs(): ListProperty<String>
Additional arguments to provide to the compiler. |
|
open fun getDebuggable(): Property<Boolean>
Should the compiler generate debuggable code? |
|
open fun getMacros(): ListProperty<String>
Macros that should be defined for the compiler. Macros do not have values in Swift; they are either present or absent. |
|
open fun getModuleFile(): RegularFileProperty
The location to write the Swift module file to. |
|
open fun getModuleName(): Property<String>
The name of the module to produce. |
|
open fun getModules(): ConfigurableFileCollection
The modules required to compile the source. |
|
open fun getObjectFileDir(): DirectoryProperty
The directory where object files will be generated. |
|
open fun getOptimized(): Property<Boolean>
Should the compiler generate optimized code? |
|
open fun getSource(): ConfigurableFileCollection
Returns the source files to be compiled. |
|
open fun getSourceCompatibility(): Property<SwiftVersion>
Returns the Swift language level to use to compile the source files. |
|
open fun getTargetPlatform(): Property<NativePlatform>
The platform being compiled for. |
|
open fun getToolChain(): Property<NativeToolChain>
The tool chain used for compilation. |
|
open fun isDebuggable(): Boolean
Should the compiler generate debuggable code? |
|
open fun isOptimized(): Boolean
Should the compiler generate debuggable code? |