Package org.gradle.language.swift.tasks
Klasse SwiftCompile
java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.language.swift.tasks.SwiftCompile
- Alle implementierten Schnittstellen:
Comparable<Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,Named,ExtensionAware,Task,Configurable<Task>
Compiles Swift source files into object files.
- Seit:
- 4.1
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Task
Task.Namer -
Feldübersicht
Von Schnittstelle geerbte Felder org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungSwiftCompile(org.gradle.nativeplatform.internal.CompilerOutputFileNamingSchemeFactory compilerOutputFileNamingSchemeFactory, org.gradle.internal.file.Deleter deleter) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidcompile(InputChanges inputs) Additional arguments to provide to the compiler.protected CompilerVersionThe compiler used, including the type and the version.Should the compiler generate debuggable code?Macros that should be defined for the compiler.The location to write the Swift module file to.The name of the module to produce.The modules required to compile the source.The directory where object files will be generated.Should the compiler generate optimized code?Returns the source files to be compiled.Returns the Swift language level to use to compile the source files.The platform being compiled for.The tool chain used for compilation.booleanShould the compiler generate debuggable code?booleanShould the compiler generate debuggable code?Von Klasse geerbte Methoden org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceVon Klasse geerbte Methoden org.gradle.api.internal.AbstractTask
acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.gradle.api.Task
doNotTrackState, getConvention, notCompatibleWithConfigurationCache
-
Konstruktordetails
-
SwiftCompile
@Inject public SwiftCompile(org.gradle.nativeplatform.internal.CompilerOutputFileNamingSchemeFactory compilerOutputFileNamingSchemeFactory, org.gradle.internal.file.Deleter deleter)
-
-
Methodendetails
-
getToolChain
The tool chain used for compilation.- Seit:
- 4.7
-
getTargetPlatform
The platform being compiled for.- Seit:
- 4.7
-
getSource
@InputFiles @SkipWhenEmpty @IgnoreEmptyDirectories @PathSensitive(RELATIVE) public ConfigurableFileCollection getSource()Returns the source files to be compiled.- Seit:
- 4.4
-
getMacros
Macros that should be defined for the compiler.Macros do not have values in Swift; they are either present or absent.
- Seit:
- 4.7
-
isDebuggable
Should the compiler generate debuggable code?- Seit:
- 4.7
-
getDebuggable
Should the compiler generate debuggable code?- Seit:
- 4.7
-
isOptimized
Should the compiler generate debuggable code?- Seit:
- 4.7
-
getOptimized
Should the compiler generate optimized code?- Seit:
- 4.7
-
getCompilerArgs
Additional arguments to provide to the compiler.- Seit:
- 4.4
-
getObjectFileDir
The directory where object files will be generated.- Seit:
- 4.4
-
getModuleFile
The location to write the Swift module file to.- Seit:
- 4.4
-
getModuleName
The name of the module to produce. -
getModules
The modules required to compile the source.- Seit:
- 4.4
-
getSourceCompatibility
Returns the Swift language level to use to compile the source files.- Seit:
- 4.6
-
getCompilerVersion
The compiler used, including the type and the version.- Seit:
- 4.4
-
compile
-