Interface ObjectiveCSourceSet

All Superinterfaces:
Buildable, BuildableComponentSpec, ComponentSpec, DependentSourceSet, HeaderExportingSourceSet, LanguageSourceSet, ModelElement, Named

@Incubating public interface ObjectiveCSourceSet extends HeaderExportingSourceSet, LanguageSourceSet, DependentSourceSet
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.

 plugins {
     id 'objective-c'
 }

 model {
     components {
         main(NativeLibrarySpec) {
             sources {
                 objc {
                     source {
                         srcDirs "src/main/objectiveC", "src/shared/objectiveC"
                         include "**/*.m"
                     }
                     exportedHeaders {
                         srcDirs "src/main/include"
                     }
                 }
             }
         }
     }
 }