public interface HasObjectiveCSources
HasObjectiveCSourceSet
Modifier and Type | Method and Description |
---|---|
default ObjectiveCSourceSet |
getObjectiveCSources()
Defines the Objective-C sources of this component.
|
default void |
objectiveCSources(Action<? super ObjectiveCSourceSet> action)
Configures the Objective-C sources of this component using the specified configuration action.
|
default void |
objectiveCSources(groovy.lang.Closure<Void> closure)
Configures the Objective-C sources of this component using the specified configuration closure.
|
default ObjectiveCSourceSet getObjectiveCSources()
By default, the source set contains all files in the directory src/componentName/objectiveC
(and src/componentName/objc
for backward compatibility), where componentName represent this component's name, i.e. main or test.
ObjectiveCSourceSet
default void objectiveCSources(Action<? super ObjectiveCSourceSet> action)
action
- the configuration action, must not be nullgetObjectiveCSources()
default void objectiveCSources(@DelegatesTo(value=ObjectiveCSourceSet.class,strategy=1) groovy.lang.Closure<Void> closure)
closure
- the configuration closure, must not be nullgetObjectiveCSources()