A set of Objective-C source files.
An ObjectiveC source set contains a set of source files, together with an optional set of exported header files.
apply plugin: "objective-c" executables{ main{} } sources { main { // Configure an existing ObjectiveCSourceSet objc { source { srcDirs "src/main/objectiveC", "src/shared/objectiveC" include "**/*.m" } exportedHeaders { srcDirs "src/main/include" } } } }
Methods inherited from class | Name |
---|---|
interface DependentSourceSet |
getLibs, lib |
interface HeaderExportingSourceSet |
exportedHeaders, getExportedHeaders, getImplicitHeaders |
interface LanguageSourceSet |
generatedBy, getDisplayName, getSource, source |
interface BuildableModelElement |
builtBy, getBuildTask, hasBuildDependencies, setBuildTask |
interface Named |
getName |